Fixing error message in nsexec
Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
parent
188312013f
commit
43287af982
|
@ -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