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