Updated logFile parameter to trim trailing slash

This commit is contained in:
Asif Bacchus 2018-10-21 16:31:44 -06:00
parent 444bf65c5e
commit 3cde67a18c

View File

@ -340,7 +340,7 @@ while getopts ':l:v5:w:b:m:d:1:2:' PARAMS; do
case "$PARAMS" in
l)
# use provided location for logFile
logFile="${OPTARG}"
logFile="${OPTARG%/}"
;;
v)
# verbose output from Borg