Incorrect branching in assert_error
This commit is contained in:
parent
a37d5c2538
commit
6c7e78cd12
@ -127,9 +127,9 @@ assert_error() {
|
||||
if [ "${ERR}" != "0" ]; then
|
||||
if [ -z "${ERR}" ]; then
|
||||
exit ${ERR}
|
||||
else
|
||||
exit ${ERRCODE}
|
||||
fi
|
||||
else
|
||||
exit ${ERRCODE}
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user