Incorrect branching in assert_error

This commit is contained in:
Wynter Woods 2015-11-09 06:12:32 -08:00
parent a37d5c2538
commit 6c7e78cd12
1 changed files with 2 additions and 2 deletions

View File

@ -127,10 +127,10 @@ assert_error() {
if [ "${ERR}" != "0" ]; then if [ "${ERR}" != "0" ]; then
if [ -z "${ERR}" ]; then if [ -z "${ERR}" ]; then
exit ${ERR} exit ${ERR}
fi
else else
exit ${ERRCODE} exit ${ERRCODE}
fi fi
fi
} }
echo == preparing images == echo == preparing images ==