'!' is not portable.

This commit is contained in:
Mark Andrews
2013-02-26 23:13:24 +11:00
parent 6292e6f1d5
commit 08e896f3a3
+2 -2
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
}