summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-29 23:53:41 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-29 23:53:41 +0200
commit189c8f9aebd99c2793f99ed8289cb86efda08261 (patch)
treec3b9c8facbf2b5cad17e39f8df138c2f8f837e94 /updater/install.cpp
parentMerge "Add install/wipe_device.cpp." (diff)
parentConsolidate the codes that handle reboot/shutdown. (diff)
downloadandroid_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.gz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.bz2
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.lz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.xz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.zst
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.zip
Diffstat (limited to 'updater/install.cpp')
-rw-r--r--updater/install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 20a204a83..8eba64f5d 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -778,7 +778,7 @@ Value* RebootNowFn(const char* name, State* state, const std::vector<std::unique
return StringValue("");
}
- reboot("reboot," + property);
+ Reboot(property);
sleep(5);
return ErrorAbort(state, kRebootFailure, "%s() failed to reboot", name);