From 4f843ed771379a8d1b25f00757ddb46d9a39ce6a Mon Sep 17 00:00:00 2001 From: toutes Date: Tue, 11 Jan 2022 01:22:15 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: toutes --- services/native/src/actions/default/device_power_action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/native/src/actions/default/device_power_action.cpp b/services/native/src/actions/default/device_power_action.cpp index c904f197..ae1b9583 100644 --- a/services/native/src/actions/default/device_power_action.cpp +++ b/services/native/src/actions/default/device_power_action.cpp @@ -46,7 +46,7 @@ void DevicePowerAction::Shutdown(const std::string& reason) return; } POWER_HILOGI(MODULE_SERVICE, "Shutdown executing."); - DoReboot(updateCmd); + DoReboot(""); } } // namespace PowerMgr } // namespace OHOS -- Gitee