summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-29 20:23:16 +0200
committerTao Bao <tbao@google.com>2019-04-29 21:12:25 +0200
commit782dcc1996f6b39ef9e085d7153c2f109ff2609a (patch)
tree25c89a6308fc456aacbbf883517247ae2af517c2 /updater/install.cpp
parentMerge "Support wipe command in rescue mode" (diff)
downloadandroid_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.gz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.bz2
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.lz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.xz
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.tar.zst
android_bootable_recovery-782dcc1996f6b39ef9e085d7153c2f109ff2609a.zip
Diffstat (limited to '')
-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);