projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: Replace strerror(errno) with %m.
[project/procd.git]
/
rcS.c
diff --git
a/rcS.c
b/rcS.c
index
4ecf0c1
..
b1202bf
100644
(file)
--- a/
rcS.c
+++ b/
rcS.c
@@
-82,6
+82,7
@@
static void q_initd_run(struct runqueue *q, struct runqueue_task *t)
if (pid) {
close(pipefd[1]);
+ fcntl(pipefd[0], F_SETFD, FD_CLOEXEC);
s->fd.stream.string_data = true,
s->fd.stream.notify_read = pipe_cb,
runqueue_process_add(q, &s->proc, pid);