mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: $value not $code
This commit is contained in:
parent
298f2c066a
commit
ae359f6f05
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue