]> 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:11:43 +0000 (23:11 +1100)
bin/tests/system/rpz/tests.sh

index bf20aba8fdc7822d3d958aed49033bbad027863a..ec2b9f4c3ceea951de9480409d97de9d03527221 100644 (file)
@@ -88,10 +88,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
 }