diff --git a/backup.sh b/backup.sh index 523ba13..70ae93c 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:n:v5:r:' PARAMS; do +while getopts ':l:n:v5:w:' PARAMS; do case "$PARAMS" in l) # use provided location for logFile @@ -191,7 +191,7 @@ while getopts ':l:n:v5:r:' PARAMS; do # 503 error page name err503File="${OPTARG}" ;; - r) + w) # path to webserver webroot to copy 503 error page webroot="${OPTARG}" ;;