Removed redundant error messages on scriptHelp invocation.

This commit is contained in:
Asif Bacchus 2018-09-13 20:59:41 -06:00
parent 37d51c50e7
commit d9804ee8ec

View File

@ -134,7 +134,6 @@ errorExplain[254]="Could not connect with CloudFlare API. Please re-run this scr
### Process script parameters
if [ -z $1 ]; then
echo -e "\e[1;31mNo parameter(s) provided\e[0m\n"
scriptHelp 1
fi
@ -164,7 +163,6 @@ while getopts ':f:r:i:46hx' PARAMS; do
scriptExamples
;;
?)
echo -e "\e[1;31mInvalid parameter(s) provided\e[0m\n"
scriptHelp 1
;;
esac