diff options
author | George Burgess IV <gbiv@google.com> | 2018-02-23 18:47:22 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-23 18:47:22 +0100 |
commit | a362703826fbcdbf938da6882b2fd4e1a90c234b (patch) | |
tree | 19830567fdfe9064831383653bcd8b5a074b0fbe | |
parent | Import translations. DO NOT MERGE (diff) | |
parent | Merge "Replace vfork() with fork()." am: 21b381622d (diff) | |
download | android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar.gz android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar.bz2 android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar.lz android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar.xz android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.tar.zst android_bootable_recovery-a362703826fbcdbf938da6882b2fd4e1a90c234b.zip |
-rw-r--r-- | roots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,7 +189,7 @@ static int exec_cmd(const std::vector<std::string>& args) { argv.push_back(nullptr); pid_t child; - if ((child = vfork()) == 0) { + if ((child = fork()) == 0) { execv(argv[0], argv.data()); _exit(EXIT_FAILURE); } |