'!' is not portable.

This commit is contained in:
Mark Andrews
2013-02-26 23:11:43 +11:00
parent e0c4f1f5cc
commit 30314ce9c5

View 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
}