diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-10-17 22:01:25 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-10-17 22:01:25 +0200 |
commit | 623a30ed4509302efc7856cc6a80ad3b283c4c2d (patch) | |
tree | 90bb7e7cbf004d3156032b8ca86038ea69ac8981 | |
parent | dd98145bc182af39645ba6bea0e5441afd84a1d3 (diff) | |
download | crosstool-ng-623a30ed4509302efc7856cc6a80ad3b283c4c2d.tar.gz crosstool-ng-623a30ed4509302efc7856cc6a80ad3b283c4c2d.tar.bz2 crosstool-ng-623a30ed4509302efc7856cc6a80ad3b283c4c2d.zip |
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>
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 7bb58ab1..6e4f0ba5 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 |