~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/: Issue `WARN' messages for (most) initialization errors.
[tripe]
/
server
/
privsep.c
diff --git
a/server/privsep.c
b/server/privsep.c
index
0b5390e
..
56b22be
100644
(file)
--- a/
server/privsep.c
+++ b/
server/privsep.c
@@
-177,9
+177,8
@@
void ps_split(int detachp)
const char *helper;
if (socketpair(PF_UNIX, SOCK_STREAM, 0, fd)) {
const char *helper;
if (socketpair(PF_UNIX, SOCK_STREAM, 0, fd)) {
- die(EXIT_FAILURE,
- "failed to create socket pair for privilege separation: %s",
- strerror(errno));
+ a_warn("PRIVSEP", "socketpair-create-failed", "?ERRNO", A_END);
+ exit(EXIT_FAILURE);
}
helper = getenv("TRIPE_PRIVHELPER");
if (!helper) helper = PRIVSEP_HELPER;
}
helper = getenv("TRIPE_PRIVHELPER");
if (!helper) helper = PRIVSEP_HELPER;