commit | 21b381622d39b3d9ce1eaee674659922ff66fa1b | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Feb 23 17:04:34 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Feb 23 17:04:34 2018 +0000 |
tree | 925cbe149c20711f1bec575e91ca9beed31ac59a | |
parent | bf52b7e00b63397d9c81b7f7ffa7a8b8799edd4a [diff] | |
parent | 1cfb36112901eaf44110d8a29355c3116bee4a3a [diff] |
Merge "Replace vfork() with fork()."
diff --git a/roots.cpp b/roots.cpp index e2d5d65..9ff5186 100644 --- a/roots.cpp +++ b/roots.cpp
@@ -189,7 +189,7 @@ argv.push_back(nullptr); pid_t child; - if ((child = vfork()) == 0) { + if ((child = fork()) == 0) { execv(argv[0], argv.data()); _exit(EXIT_FAILURE); }