Public bug reported:
Running the status command on the fail2ban sysv init script returns the
wrong exit code:
[Precise]
# /etc/init.d/fail2ban status
* Status of authentication failure monitor
* fail2ban is not running
# echo $?
0
[Lucid]
# /etc/init.d/fail2ban status
* Status of authentication failure monitor
* fail2ban is not running
# echo $?
0
In both cases this should be not 0.
** Affects: fail2ban (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/920995
Title:
SysV status script returns the wrong exit code when fail2ban is not
running
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/920995/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs