mirror of https://github.com/fail2ban/fail2ban
BF: $value not $code
parent
298f2c066a
commit
ae359f6f05
|
@ -188,7 +188,7 @@ log_end_msg_wrapper()
|
||||||
if [ "$3" != "no" ]; then
|
if [ "$3" != "no" ]; then
|
||||||
log_end_msg $value
|
log_end_msg $value
|
||||||
fi
|
fi
|
||||||
if [ $code != 0 ]; then
|
if [ $value != "0" ]; then
|
||||||
exit $1
|
exit $1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue