From 623a30ed4509302efc7856cc6a80ad3b283c4c2d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 17 Oct 2012 22:01:25 +0200 Subject: 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" Cc: Johannes Stezenbach 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 CT_Abort() { CT_DoLog ERROR "$1" - exit 1 + false } # Test a condition, and print a message if satisfied -- cgit v0.10.2-6-g49f6