'I:exit status: <value>' should be outsied of if

(cherry picked from commit e1c93a0f58)
This commit is contained in:
Mark Andrews
2016-11-02 09:11:40 +11:00
parent a0e34c90ea
commit 2c629a1b84

View File

@@ -545,9 +545,9 @@ if [ -x ${DELV} ] ; then
grep "a.example." < delv.out.test$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
else
echo "$DELV is needed, so skipping these delv tests"
fi
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1