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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user