Merge pull request #1187 from rajasec/nsexec-error
Fixing error message in nsexec
This commit is contained in:
commit
43c43004ef
|
@ -394,7 +394,7 @@ void join_namespaces(char *nslist)
|
||||||
|
|
||||||
fd = open(path, O_RDONLY);
|
fd = open(path, O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
bail("failed to open %s", namespace);
|
bail("failed to open %s", path);
|
||||||
|
|
||||||
ns->fd = fd;
|
ns->fd = fd;
|
||||||
ns->ns = nsflag(namespace);
|
ns->ns = nsflag(namespace);
|
||||||
|
|
Loading…
Reference in New Issue