From 3cde67a18c4110a6b3f8045def72faaa5fc54580 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 21 Oct 2018 16:31:44 -0600 Subject: [PATCH] Updated logFile parameter to trim trailing slash --- root/scripts/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index 202c28e..f1de857 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -340,7 +340,7 @@ while getopts ':l:v5:w:b:m:d:1:2:' PARAMS; do case "$PARAMS" in l) # use provided location for logFile - logFile="${OPTARG}" + logFile="${OPTARG%/}" ;; v) # verbose output from Borg