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,9 +127,9 @@ assert_error() {
if [ "${ERR}" != "0" ]; then
if [ -z "${ERR}" ]; then
exit ${ERR}
else
exit ${ERRCODE}
fi
else
exit ${ERRCODE}
fi
}