mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-19 00:26:55 +00:00
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>
This commit is contained in:
parent
dd98145bc1
commit
623a30ed45
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user