commit | 44f2cb2d677d1014d179ce482c01545001a21c79 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Feb 23 17:24:51 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Feb 23 17:24:51 2018 +0000 |
tree | 925cbe149c20711f1bec575e91ca9beed31ac59a | |
parent | cd06b1696d005152e50c63b40a4de5e049641d31 [diff] | |
parent | 21b381622d39b3d9ce1eaee674659922ff66fa1b [diff] |
Merge "Replace vfork() with fork()." am: 21b381622d Change-Id: Ia06201cedfcca6358f6f65face5325a4cf528f72
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); }