summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-10-17 20:01:25 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-10-17 20:01:25 (GMT)
commit623a30ed4509302efc7856cc6a80ad3b283c4c2d (patch)
tree90bb7e7cbf004d3156032b8ca86038ea69ac8981 /scripts
parentdd98145bc182af39645ba6bea0e5441afd84a1d3 (diff)
scripts/functions: properly catch failure in CT_Test* helpers
So we get caught by the trap-handler and have a chance to run the debug-shell. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Johannes Stezenbach <js@sig21.net>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 7bb58ab..6e4f0ba 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -320,7 +320,7 @@ CT_SanitiseVarDir() {
# Usage: CT_Abort <message>
CT_Abort() {
CT_DoLog ERROR "$1"
- exit 1
+ false
}
# Test a condition, and print a message if satisfied