summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2018-02-18 02:48:45 +0100
committerGeorge Burgess IV <gbiv@google.com>2018-02-23 04:25:22 +0100
commit1cfb36112901eaf44110d8a29355c3116bee4a3a (patch)
tree017221e701fe934293694f48d691cf0c15b6bd5d
parentMerge "Skip the cache size check on host" (diff)
downloadandroid_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar.gz
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar.bz2
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar.lz
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar.xz
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.tar.zst
android_bootable_recovery-1cfb36112901eaf44110d8a29355c3116bee4a3a.zip
-rw-r--r--roots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/roots.cpp b/roots.cpp
index e2d5d6543..9ff5186c1 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -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);
}