Handle possible trailing slash on input of log file path

This commit is contained in:
Asif Bacchus 2018-10-23 05:04:05 -06:00
parent e7d6ad8e31
commit f938c8ef20

View File

@ -299,7 +299,7 @@ while getopts ':l:n:u:v5:w:s:b:d:' PARAMS; do
case "$PARAMS" in case "$PARAMS" in
l) l)
# use provided location for logFile # use provided location for logFile
logFile="${OPTARG}" logFile="${OPTARG%/}"
;; ;;
n) n)
# NextCloud webroot # NextCloud webroot