Updated logFile parameter to trim trailing slash
This commit is contained in:
parent
444bf65c5e
commit
3cde67a18c
@ -340,7 +340,7 @@ while getopts ':l:v5:w:b:m:d:1:2:' PARAMS; do
|
|||||||
case "$PARAMS" in
|
case "$PARAMS" in
|
||||||
l)
|
l)
|
||||||
# use provided location for logFile
|
# use provided location for logFile
|
||||||
logFile="${OPTARG}"
|
logFile="${OPTARG%/}"
|
||||||
;;
|
;;
|
||||||
v)
|
v)
|
||||||
# verbose output from Borg
|
# verbose output from Borg
|
||||||
|
Loading…
Reference in New Issue
Block a user