From d9804ee8ecbfd33255500d072d065ed0474ed222 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 13 Sep 2018 20:59:41 -0600 Subject: [PATCH] Removed redundant error messages on scriptHelp invocation. --- cfddns.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/cfddns.sh b/cfddns.sh index ef8400c..793eb2d 100755 --- a/cfddns.sh +++ b/cfddns.sh @@ -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