summaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-02-25 09:29:23 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-02-25 09:29:23 +0100
commit4bda178fe4d67f7522662ed6708e08f62e03c77d (patch)
tree2c99a055e81bbfe50e2ce1be1a10be194064159d /roots.cpp
parentSnap for 4615953 from a7df3189136283ae20812845183337066498bb2e to pi-release (diff)
parentMerge "Remove the assumption of target chunk size in imgdiff" am: cc3446a7f7 am: a306d7bc55 (diff)
downloadandroid_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar.gz
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar.bz2
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar.lz
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar.xz
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.tar.zst
android_bootable_recovery-4bda178fe4d67f7522662ed6708e08f62e03c77d.zip
Diffstat (limited to 'roots.cpp')
-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);
}