From 487791cd9c46288447fc6449e93988d439b2aed4 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 2 Jun 2000 18:51:35 +0000 Subject: [PATCH] exit with nonzero exit status if ifconfig.sh fails --- bin/tests/system/run.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/tests/system/run.sh b/bin/tests/system/run.sh index 2d2ddc8043..a1b71c497f 100644 --- a/bin/tests/system/run.sh +++ b/bin/tests/system/run.sh @@ -26,11 +26,7 @@ if [ $whoami != "root" ]; then exit fi -sh ifconfig.sh start - -if [ $? != 0 ]; then - exit 0 -fi +sh ifconfig.sh start || exit $? test $# -gt 0 || { echo "usage: runtest.sh test-directory" >&2; exit 1; }