diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-23 18:04:34 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-23 18:04:34 +0100 |
commit | 21b381622d39b3d9ce1eaee674659922ff66fa1b (patch) | |
tree | 925cbe149c20711f1bec575e91ca9beed31ac59a | |
parent | Merge "Set LOCAL_SDK_VERSION where possible." (diff) | |
parent | Replace vfork() with fork(). (diff) | |
download | android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar.gz android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar.bz2 android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar.lz android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar.xz android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.tar.zst android_bootable_recovery-21b381622d39b3d9ce1eaee674659922ff66fa1b.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); } |