Incorrect branching in assert_error

chip/stable
Wynter Woods 7 years ago
parent a37d5c2538
commit 6c7e78cd12
  1. 4
      chip-fel-flash.sh

@ -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…
Cancel
Save