Handle possible trailing slash on input of log file path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user