Re: [users@httpd] httpd 2.4.1 -t option return code results always in 0

2012-04-11 Thread Richard Westebbe
do you think? Is this an bug, or not? Ciao Richard - Ursprüngliche Nachricht - Von: Jeff Trawick Gesendet: 10.04.12 17:03 Uhr An: users@httpd.apache.org Betreff: Re: [users@httpd] httpd 2.4.1 -t option return code results always in 0 On Tue, Apr 10, 2012 at 9:57 AM, Richard Westebbe

Re: [users@httpd] httpd 2.4.1 -t option return code results always in 0

2012-04-10 Thread Jeff Trawick
On Tue, Apr 10, 2012 at 9:57 AM, Richard Westebbe wrote: > Hi, > > it looks like I stumbled across an bug in httpd 2.4.1, when I tried to > modify the init script to make a configtest before a restart. > > I evaluate the return code of the -t option, to decide whether I should > restart the web se

[users@httpd] httpd 2.4.1 -t option return code results always in 0

2012-04-10 Thread Richard Westebbe
Hi, it looks like I stumbled across an bug in httpd 2.4.1, when I tried to modify the init script to make a configtest before a restart. I evaluate the return code of the -t option, to decide whether I should restart the web server or not. Regarding to the manpage this option should result