From 22815101351353107f8b6df2cf6f6c3d0e2f3ddb Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 30 Sep 2018 21:38:04 -0600 Subject: [PATCH] Removed ambiguity between webroot and ncRoot --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index d78d25e..523ba13 100755 --- a/backup.sh +++ b/backup.sh @@ -172,7 +172,7 @@ if [ -z "$1" ] || [[ ! "$1" =~ ^- ]]; then fi # use GetOpts to process parameters -while getopts ':l:nv5:r:' PARAMS; do +while getopts ':l:n:v5:r:' PARAMS; do case "$PARAMS" in l) # use provided location for logFile @@ -192,7 +192,7 @@ while getopts ':l:nv5:r:' PARAMS; do err503File="${OPTARG}" ;; r) - # path to webroot for NextCloud installation + # path to webserver webroot to copy 503 error page webroot="${OPTARG}" ;; ?)