From: Daniel Lezcano Date: Tue, 31 Mar 2009 11:55:44 +0000 (+0200) Subject: don't remove init file in the stop function X-Git-Tag: lxc_0_6_2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6235d06350d4c58e54a1c1bc478b2da2ecbc119;p=thirdparty%2Flxc.git 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 --- diff --git a/src/lxc/stop.c b/src/lxc/stop.c index eb1044ea1..d66b68fbd 100644 --- a/src/lxc/stop.c +++ b/src/lxc/stop.c @@ -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: