2
0
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:
Daniel Lezcano
2009-03-31 13:55:44 +02:00
parent 34e7030e83
commit f6235d0635

View File

@@ -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: