From: Chris Koeritz Date: Wed, 8 Nov 2017 03:03:01 +0000 (-0500) Subject: differentiating and improving the two test methods X-Git-Tag: 2.140.90~42 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=2464c9f16bbfcf8feafe08a8db55576456570fd3;p=feisty_meow.git differentiating and improving the two test methods --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index e70d6e57..c750fff2 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -124,7 +124,7 @@ if [ -z "$skip_all" ]; then function test_or_fail() { if [ $? -ne 0 ]; then - echo -e "\n\nfailed on: $*" + echo -e "\n\naction failed: $*\n\nExiting script..." error_sound exit 1 fi @@ -134,7 +134,7 @@ if [ -z "$skip_all" ]; then function test_or_continue() { if [ $? -ne 0 ]; then - echo -e "\n\nfailed on: $*" + echo -e "\n\nerror occurred: $*\n\nContinuing script..." error_sound fi }