From c01bb32d2e8274bbd020a5311afa894a84d11c9a Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Wed, 2 Jun 2021 15:11:04 +0200 Subject: [PATCH] localdump - update configfile 2 check --- localdump.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localdump.sh b/localdump.sh index de70312..d877b0b 100755 --- a/localdump.sh +++ b/localdump.sh @@ -27,9 +27,9 @@ . ~/.backup.conf fi - if [ ! -r "${DIRFILE}" ]; then + if [ ! -r "${JOBFILE}" ]; then color error - echo ERROR: missing config file ${DIRFILE}. + echo ERROR: missing config file ${JOBFILE}. color reset exit 1 fi -- GitLab