commit | a362703826fbcdbf938da6882b2fd4e1a90c234b | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Feb 23 17:47:22 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Feb 23 17:47:22 2018 +0000 |
tree | 19830567fdfe9064831383653bcd8b5a074b0fbe | |
parent | 0bfea531d89943595405033288ffca6388a0a113 [diff] | |
parent | c298833b1c741a917091a8f41bfddc71d862fa03 [diff] |
Merge "Replace vfork() with fork()." am: 21b381622d am: 44f2cb2d67 am: c298833b1c Change-Id: Ia72697181a9132713b216b6f7c0b7116e09d62fd
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); }