opensmtpd init script "status" function always returns 0
Bug #1515623 reported by
Arne Meuche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opensmtpd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
$ apt-get install opensmtpd
$ service opensmtpd status
$ echo $? # This prints 0
$ service opensmtpd stop
$ service opensmtpd status
$ echo $? # This prints 0 too
Expected behaviour:
Running "service opensmtpd status" when the service is not running should return something else than 0. To my knowledge most init scripts in /etc/init.d do this correctly.
To post a comment you must log in.