You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/04/11 08:43:50 UTC

DO NOT REPLY [Bug 53060] New: -t option return code always results in 0

https://issues.apache.org/bugzilla/show_bug.cgi?id=53060

             Bug #: 53060
           Summary: -t option return code always results in 0
           Product: Apache httpd-2
           Version: 2.4.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: r.westebbe@gmx.de
    Classification: Unclassified


When I evaluate the return code of the -t option, to decide in a bash script
whether I should restart the web server or not the return code is always 0, no
matter whether the config is correct or not.

Regarding to the manpage this option should result in 0 when there's no error
in the config, otherwise it should result in 1.

With httpd 2.2 it works like expected, with 2.4.1 not.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 53060] -t option return code always results in 0

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53060

Richard Westebbe <r....@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Richard Westebbe <r....@gmx.de> 2012-04-11 07:27:50 UTC ---
It looks like the bug is created by an patch I forgot to remove from SPEC file.
When I compile the httpd manually the error doesn't appear anymore. Sorry for
the inconvenience!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org