'!' is not portable.

This commit is contained in:
Mark Andrews
2013-02-26 23:11:43 +11:00
parent de6955cc77
commit ab797f53c2

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