提交 b6aae75b 编写于 作者: F felix.dp

Fix call Restorecon() twice issue.

Signed-off-by: Nfelix.dp <felix.dp@foxmail.com>
上级 394dd86c
......@@ -115,7 +115,7 @@ static void SetDeviceLable(const char *path)
continue;
}
if (gap < 0) { // end with '/'
break;
return;
}
if (memcpy_s(buffer, PATH_MAX, path, p - path - 1) != EOK) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册