BF: $value not $code

pull/2189/head
Yaroslav Halchenko 2018-07-24 14:29:43 -04:00
parent 298f2c066a
commit ae359f6f05
1 changed files with 1 additions and 1 deletions

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
}