mirror of https://github.com/fail2ban/fail2ban
BF: debian-initd, exit with exit code in logend_msg_wrapper
and do it unconditionally on the verbosity levelpull/2189/head
parent
d9b9b6ba22
commit
f323eceec7
|
@ -180,10 +180,11 @@ do_reload() {
|
|||
#
|
||||
log_end_msg_wrapper()
|
||||
{
|
||||
[ $1 -lt $2 ] && value=0 || value=1
|
||||
if [ "$3" != "no" ]; then
|
||||
[ $1 -lt $2 ] && value=0 || value=1
|
||||
log_end_msg $value
|
||||
fi
|
||||
exit $value
|
||||
}
|
||||
|
||||
command="$1"
|
||||
|
|
Loading…
Reference in New Issue