From 37339425963323f1c1cb704484ba1d15c4870433 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 30 Sep 2018 20:02:22 -0600 Subject: [PATCH] Reactivated call to help screen on missing parameters --- backup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backup.sh b/backup.sh index e2183ca..47fd0b8 100755 --- a/backup.sh +++ b/backup.sh @@ -161,10 +161,10 @@ warn503=" ${ltYellow}Web users will NOT be informed the server is down!${norma ### Process script parameters # if no parameters provided, then show the help page and exit with error -#if [ -z $1 ]; then -# # show script help page -# scriptHelp -#fi +if [ -z $1 ]; then + # show script help page + scriptHelp +fi # use GetOpts to process parameters while getopts ':l:nv5:r:' PARAMS; do