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