update src/daemon/daemon_unity.cpp.

Signed-off-by: WANGTAO <wangtao577@huawei.com>
This commit is contained in:
WANGTAO 2024-07-29 03:59:23 +00:00 committed by Gitee
parent 7c7c33b93a
commit 6d323be4b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -175,7 +175,7 @@ bool HdcDaemonUnity::RemountDevice()
}
}
int exitStatus = HdcDaemonUnity::ExecuteShell("remount");
int exitStatus = ExecuteShell("remount");
if (exitStatus == -1) {
LogMsg(MSG_FAIL, "Failed to execute /bin/remount: %s", strerror(errno));
return false;