Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 7371a6f

Browse files
committed
remove unneeded /tmp/hyper/proc
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
1 parent b7d93c2 commit 7371a6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/init.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,9 @@ static int hyper_setup_shared(struct hyper_pod *pod)
484484

485485
static int hyper_setup_pod(struct hyper_pod *pod)
486486
{
487-
/* create tmp proc directory */
488-
if (hyper_mkdir("/tmp/hyper/proc", 0755) < 0) {
489-
perror("create tmp proc failed");
487+
/* create sandbox directory */
488+
if (hyper_mkdir("/tmp/hyper", 0755) < 0) {
489+
perror("create sandbox directory failed");
490490
return -1;
491491
}
492492

0 commit comments

Comments
 (0)