From 97ba92990580d4222a2630a77fda36f053653d7c Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Fri, 13 Nov 2015 18:15:34 +0000 Subject: [PATCH] Fix comment in relation to vfork (we are using fork instead now) --- service.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; -- 2.25.1