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

This commit is contained in:
Mark Andrews 2016-11-02 09:09:26 +11:00
parent fb915a912f
commit fde9e57653

View file

@ -323,9 +323,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