Commit f6235d06 by Daniel Lezcano

don't remove init file in the stop function

At present the 'init' file is deleted from the 'stop' function and I don't remember why it is done in this place :) The 'init' file is removed from the 'start' when the first process has been deleted. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 34e7030e
...@@ -70,11 +70,6 @@ int lxc_stop(const char *name) ...@@ -70,11 +70,6 @@ int lxc_stop(const char *name)
goto out_close; goto out_close;
} }
if (unlink(init)) {
lxc_log_syserror("failed to unlink %s", init);
goto out_close;
}
ret = 0; ret = 0;
out_close: out_close:
......
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