From ab797f53c216bccfc18e53fe0ac5e0ec037645e3 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 26 Feb 2013 23:11:43 +1100 Subject: [PATCH] '!' is not portable. --- bin/tests/system/rpz/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/rpz/tests.sh b/bin/tests/system/rpz/tests.sh index 16614e81fd..b2c3842c75 100644 --- a/bin/tests/system/rpz/tests.sh +++ b/bin/tests/system/rpz/tests.sh @@ -87,10 +87,10 @@ setret () { # (re)load the reponse policy zones with the rules in the file $TEST_FILE load_db () { if test -n "$TEST_FILE"; then - if ! $NSUPDATE -v $TEST_FILE; then + $NSUPDATE -v $TEST_FILE || { echo "I:failed to update policy zone with $TEST_FILE" exit 1 - fi + } fi }