diff options
author | George Burgess IV <gbiv@google.com> | 2018-02-23 18:31:08 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-23 18:31:08 +0100 |
commit | c298833b1c741a917091a8f41bfddc71d862fa03 (patch) | |
tree | 52afdc2c1476afc1853e5f11499e005fd4235374 | |
parent | Merge "Set LOCAL_SDK_VERSION where possible." am: bf52b7e00b (diff) | |
parent | Merge "Replace vfork() with fork()." (diff) | |
download | android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar.gz android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar.bz2 android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar.lz android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar.xz android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.tar.zst android_bootable_recovery-c298833b1c741a917091a8f41bfddc71d862fa03.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); } |