BF: $value not $code

This commit is contained in:
Yaroslav Halchenko 2018-07-24 14:29:43 -04:00
parent 298f2c066a
commit ae359f6f05

View file

@ -188,7 +188,7 @@ log_end_msg_wrapper()
if [ "$3" != "no" ]; then
log_end_msg $value
fi
if [ $code != 0 ]; then
if [ $value != "0" ]; then
exit $1
fi
}