From 009974f0d1ddb27672f5f603581929006b88eac5 Mon Sep 17 00:00:00 2001 From: qy136 <18772452388@163.com> Date: Wed, 17 Nov 2021 11:15:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9boot=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qy136 <18772452388@163.com> --- src/daemon/daemon_unity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/daemon_unity.cpp b/src/daemon/daemon_unity.cpp index c4dc63af..54f06864 100644 --- a/src/daemon/daemon_unity.cpp +++ b/src/daemon/daemon_unity.cpp @@ -190,7 +190,7 @@ bool HdcDaemonUnity::RebootDevice(const string &cmd) if (cmd == "recovery") { reason = "updater"; } else if (cmd == "bootloader") { - reason = "NoArgument"; + reason = "updater"; } return DoReboot(reason.c_str()); #endif -- Gitee