Bug#330275: apache2: init script exits with 0 when called incorrectly

2005-09-27 Thread Luke Kanies
Package: apache2 Version: 2.0.54-4 Severity: normal Tags: patch Apache2's init script does not support a 'restart' option, but when it is called with that option, it mistakenly exits with a return code of 0, instead of a code indicating failure. According to the LSB, it should exit with a 4:

Bug#330275: apache2: init script exits with 0 when called incorrectly

2005-09-27 Thread Adam Conrad
Luke Kanies wrote: Apache2's init script does not support a 'restart' option It doesn't? It does here. but when it is called with that option, it mistakenly exits with a return code of 0, instead of a code indicating failure. According to the LSB, it should exit with a 4: Right you

Bug#330275: apache2: init script exits with 0 when called incorrectly

2005-09-27 Thread Luke Kanies
On Tue, 27 Sep 2005, Adam Conrad wrote: Luke Kanies wrote: Apache2's init script does not support a 'restart' option It doesn't? It does here. Duh, I meant 'status', not 'restart'. Sorry. but when it is called with that option, it mistakenly exits with a return code of 0, instead