]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
'!' is not portable.
authorMark Andrews <marka@isc.org>
Tue, 26 Feb 2013 12:11:43 +0000 (23:11 +1100)
committerMark Andrews <marka@isc.org>
Tue, 26 Feb 2013 12:13:04 +0000 (23:13 +1100)
bin/tests/system/rpz/tests.sh

index 16614e81fd7499e850f528f11eaeec3cabc734d5..b2c3842c75e4ed215b4998aebe34da56026f421f 100644 (file)
@@ -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
 }