projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b83ed7
)
differentiating and improving the two test methods
author
Chris Koeritz
<fred@gruntose.com>
Wed, 8 Nov 2017 03:03:01 +0000
(22:03 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 8 Nov 2017 03:03:01 +0000
(22:03 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index e70d6e57a8b65d0b92418609ad0c0d759e166bfc..c750fff245ab634988f197d9393c067ee5462f1a 100644
(file)
--- 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\n
failed on: $*
"
+ echo -e "\n\n
action 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\n
failed on: $*
"
+ echo -e "\n\n
error occurred: $*\n\nContinuing script...
"
error_sound
fi
}