From 3975763ed2d345715a895ff10ff280a5af7c5b46 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 10 Nov 2016 16:25:07 +0100 Subject: [PATCH] Fixed typo --- dev/n_obackup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index 1c11679..5d2cb20 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -9,7 +9,7 @@ PROGRAM="obackup" AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.1-dev -PROGRAM_BUILD=2016111001 +PROGRAM_BUILD=2016111002 IS_STABLE=no source "./ofunctions.sh" @@ -1690,8 +1690,8 @@ fi fi -if [ ! -w "$(dirname LOG_FILE)" ]; then - echo "Cannot write to log [$(dirname LOG_FILE)]." +if [ ! -w "$(dirname $LOG_FILE)" ]; then + echo "Cannot write to log [$(dirname $LOG_FILE)]." else Logger "Script begin, logging to [$LOG_FILE]." "DEBUG" fi