summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-30 00:19:32 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-04-30 00:19:32 +0200
commit3486372d69782073b5cebe07dee14ff580a2531f (patch)
treed97b289dc37b820fa70a79b7a1907cbbebbb4bf3 /updater
parentMerge "Add install/wipe_device.cpp." (diff)
parentMerge "Consolidate the codes that handle reboot/shutdown." (diff)
downloadandroid_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar.gz
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar.bz2
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar.lz
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar.xz
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.tar.zst
android_bootable_recovery-3486372d69782073b5cebe07dee14ff580a2531f.zip
Diffstat (limited to 'updater')
-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);