mirror of
git://github.com/lxc/lxc
synced 2025-08-31 12:09:35 +00:00
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: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
@@ -70,11 +70,6 @@ int lxc_stop(const char *name)
|
||||
goto out_close;
|
||||
}
|
||||
|
||||
if (unlink(init)) {
|
||||
lxc_log_syserror("failed to unlink %s", init);
|
||||
goto out_close;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
||||
out_close:
|
||||
|
Reference in New Issue
Block a user