Fix comment in relation to vfork (we are using fork instead now)
authorDavin McCall <davmac@davmac.org>
Fri, 13 Nov 2015 18:15:34 +0000 (18:15 +0000)
committerDavin McCall <davmac@davmac.org>
Fri, 13 Nov 2015 18:15:34 +0000 (18:15 +0000)
service.cc

index c4c16d2f4bb36934bdd99e78b279e344fd15bba1..7d95ccb92a9e85016cc7fd1ad69ca9717027bd58 100644 (file)
@@ -336,10 +336,7 @@ bool ServiceRecord::start_ps_process(const std::vector<std::string> &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;