Reactivated call to help screen on missing parameters

This commit is contained in:
Asif Bacchus 2018-09-30 20:02:22 -06:00
parent 370d9d34a7
commit 3733942596

View File

@ -161,10 +161,10 @@ warn503=" ${ltYellow}Web users will NOT be informed the server is down!${norma
### Process script parameters ### Process script parameters
# if no parameters provided, then show the help page and exit with error # if no parameters provided, then show the help page and exit with error
#if [ -z $1 ]; then if [ -z $1 ]; then
# # show script help page # show script help page
# scriptHelp scriptHelp
#fi fi
# use GetOpts to process parameters # use GetOpts to process parameters
while getopts ':l:nv5:r:' PARAMS; do while getopts ':l:nv5:r:' PARAMS; do