]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_rmdir_onedev: don't fail if path doesn't exist
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 21 Sep 2015 17:01:10 +0000 (17:01 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 21 Sep 2015 20:01:02 +0000 (16:01 -0400)
commit1212197ee23087ad9703edc0c317a9fd94c31336
treea5c5c434ece159ea408ecf07bcbbebb372102034
parent801602a728629a553ea606629b01a930a8652ca5
lxc_rmdir_onedev: don't fail if path doesn't exist

We're asked to delete it, don't fail if it doesn't exist.

This stops lxc-destroy from failing when the container isn't fully
built.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c