Commit 68cecc53 by dlezcano

Remove nsgroup link when destroying the container

From: Daniel Lezcano <dlezcano@fr.ibm.com> Remove nsgroup link when destroying the container Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 998dc19a
......@@ -67,6 +67,7 @@ int lxc_destroy(const char *name)
snprintf(path, MAXPATHLEN, LXCPATH "/%s/init", name);
unlink(path);
lxc_unlink_nsgroup(name);
if (lxc_unconfigure(name)) {
lxc_log_error("failed to cleanup %s", name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment