From f8a8b7ecd9d49377c77884e2d349fd46ba3abe72 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 26 May 2016 10:56:10 +0200 Subject: Using safety measures of rm when removing containers because of (potentially) active bind mounts. Signed-off-by: Daniel Baumann --- lib/container/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/container/remove b/lib/container/remove index d171d87..4f26d43 100755 --- a/lib/container/remove +++ b/lib/container/remove @@ -127,5 +127,5 @@ then fi # Run -rm -rf "${MACHINES}/${NAME}" +rm --preserve-root --one-file-system -rf "${MACHINES}/${NAME}" rm -f "${CONFIG}/${NAME}.conf" -- cgit v1.2.3