Merge "Fix typo in userspace reboot watchdog"

This commit is contained in:
Nikita Ioffe 2019-12-02 18:38:01 +00:00 committed by Gerrit Code Review
commit 4ac630b562
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ static Result<void> DoUserspaceReboot() {
}
static void UserspaceRebootWatchdogThread() {
if (!WaitForProperty("sys.init.userspace_reboot_in_progress", "1", 20s)) {
if (!WaitForProperty("sys.init.userspace_reboot.in_progress", "1", 20s)) {
// TODO(b/135984674): should we reboot instead?
LOG(WARNING) << "Userspace reboot didn't start in 20 seconds. Stopping watchdog";
return;