Skip to content

Commit 43c4300

Browse files
authored
Merge pull request #1187 from rajasec/nsexec-error
Fixing error message in nsexec
2 parents 1883120 + 43287af commit 43c4300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/nsenter/nsexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void join_namespaces(char *nslist)
394394

395395
fd = open(path, O_RDONLY);
396396
if (fd < 0)
397-
bail("failed to open %s", namespace);
397+
bail("failed to open %s", path);
398398

399399
ns->fd = fd;
400400
ns->ns = nsflag(namespace);

0 commit comments

Comments
 (0)