提交 7f991ad5 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!668 change the directory of the temporary socket file from `/tmp` to `/run`

Merge pull request !668 from zklei/tmp
......@@ -526,7 +526,7 @@ static int new_temp_console_path(process_t *p)
if (p->console_sock_path == NULL) {
return SHIM_ERR;
}
snprintf(p->console_sock_path, MAX_CONSOLE_SOCK_LEN, "/tmp/isulad%s-pty.sock", str_rand);
snprintf(p->console_sock_path, MAX_CONSOLE_SOCK_LEN, "/run/isulad%s-pty.sock", str_rand);
return SHIM_OK;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册