Added more quoting

This commit is contained in:
deajan 2019-05-28 09:14:43 +02:00
parent 2b17326630
commit d9d5aaf1e8
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
AUTHOR="(C) 2013-2019 by Orsiris de Jong" AUTHOR="(C) 2013-2019 by Orsiris de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=1.3.0-beta3+dev PROGRAM_VERSION=1.3.0-beta3+dev
PROGRAM_BUILD=2019052203 PROGRAM_BUILD=2019052801
IS_STABLE=false IS_STABLE=false
CONFIG_FILE_REVISION_REQUIRED=1.3.0 CONFIG_FILE_REVISION_REQUIRED=1.3.0
@ -3185,8 +3185,8 @@ if [ "$LOGFILE" == "" ]; then
else else
LOG_FILE="$LOGFILE" LOG_FILE="$LOGFILE"
fi fi
if [ ! -w "$(dirname $LOG_FILE)" ]; then if [ ! -w "$(dirname "$LOG_FILE")" ]; then
echo "Cannot write to log [$(dirname $LOG_FILE)]." echo "Cannot write to log [$(dirname "$LOG_FILE")]."
else else
Logger "Script begin, logging to [$LOG_FILE]." "DEBUG" Logger "Script begin, logging to [$LOG_FILE]." "DEBUG"
fi fi