Bug 64987 - Exit status isn't set when sending signal fails for "httpd -k stop"
Summary: Exit status isn't set when sending signal fails for "httpd -k stop"
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2020-12-14 21:53 UTC by daniel.phan36
Modified: 2020-12-14 21:54 UTC (History)
0 users



Attachments
Patch for server/mpm_unix.c to set the exit status for "httpd -k stop" (347 bytes, patch)
2020-12-14 21:53 UTC, daniel.phan36
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.phan36 2020-12-14 21:53:24 UTC
Created attachment 37610 [details]
Patch for server/mpm_unix.c to set the exit status for "httpd -k stop"

It seems that the exit status for "httpd -k stop" isn't set if sending the signal fails.  I looked at the old apachectl (ver 1.3.0) and it sets a non-zero exit status in that situation.