From: Davin McCall Date: Fri, 13 Nov 2015 18:15:34 +0000 (+0000) Subject: Fix comment in relation to vfork (we are using fork instead now) X-Git-Tag: v0.01~136 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97ba92990580d4222a2630a77fda36f053653d7c;p=oweals%2Fdinit.git Fix comment in relation to vfork (we are using fork instead now) --- diff --git a/service.cc b/service.cc index c4c16d2..7d95ccb 100644 --- a/service.cc +++ b/service.cc @@ -336,10 +336,7 @@ bool ServiceRecord::start_ps_process(const std::vector &pargs) exit(0); } else { - // Parent process - we only reach here once the exec() above - // has succeeded, or _exit() above was called (because vfork() - // suspends the parent until either of those occurs). - + // Parent process close(pipefd[1]); // close the 'other end' fd int exec_status;