From d79c35f2e568669e560786d06975555c3e19ed3e Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <admin@spinrath.net>
Date: Wed, 26 Aug 2015 11:52:21 +0200
Subject: [PATCH] rootfs_console: always exit with status 0 so the rootfs will
 be cleaned up

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9f683cb..8d7867e 100644
--- a/Makefile
+++ b/Makefile
@@ -201,7 +201,7 @@ rootfs_console : $(call archdir,$(ARCH))$(STATE_DIR)/rootfs_extracted | $(APT_CA
         -s lxc.mount.entry="$(APT_CACHE_DIR) $(call archdir,$(ARCH))$(ROOTFS)/var/cache/apt/ none defaults,bind 0 0" \
         -s lxc.mount.entry="none $(call archdir,$(ARCH))$(ROOTFS)/tmp tmpfs defaults 0 0" \
         -s lxc.mount.entry="none $(call archdir,$(ARCH))$(ROOTFS)/run tmpfs defaults 0 0" \
-        -- /bin/bash -l /remaster/remaster.proxy.sh /bin/bash -l
+        -- /bin/bash -l /remaster/remaster.proxy.sh /bin/bash -l || exit 0
 	@echo
 	@echo "==> LIPCK: Leaving container and cleaning up..."
 	@echo
-- 
GitLab