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
|
||||
log_end_msg $value
|
||||
fi
|
||||
if [ $code != 0 ]; then
|
||||
if [ $value != "0" ]; then
|
||||
exit $1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue