the canonical error cleanup.
We wish to avoid reporting the boring error where we try to unlink
a socket which doesn't already exist. We only want to report
interesting stuff.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87298
13f79535-47bb-0310-9956-
ffa450edef68
main_server->module_config, &cgid_module);
apr_signal(SIGCHLD, SIG_IGN);
- if (unlink(sconf->sockname) < 0 && errno == ENOENT) {
+ if (unlink(sconf->sockname) < 0 && errno != ENOENT) {
ap_log_error(APLOG_MARK, APLOG_ERR, errno, main_server,
"Couldn't unlink unix domain socket %s",
sconf->sockname);