Merge pull request #71 from martinec/master

fix: ensure a trailing slash in log dir name
This commit is contained in:
zertrin 2014-08-16 17:42:41 +02:00
commit 18c7f40a7f

View file

@ -177,6 +177,9 @@ if [[ -n "$FTP_PASSWORD" ]]; then
export FTP_PASSWORD
fi
# Ensure a trailing slash always exists in the log directory name
LOGDIR="${LOGDIR%/}/"
LOGFILE="${LOGDIR}${LOG_FILE}"
DUPLICITY="$(which duplicity)"