From 6be5513f9f1a28951d3578c83a76883bbb543c81 Mon Sep 17 00:00:00 2001
From: Michael Brown <supermathie@gmail.com>
Date: Tue, 19 Feb 2019 16:04:20 -0500
Subject: [PATCH] boot: if container initialization steps fail, exit

---
 image/base/boot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/image/base/boot b/image/base/boot
index 3e46a06..67fa5aa 100755
--- a/image/base/boot
+++ b/image/base/boot
@@ -17,7 +17,7 @@ shutdown() {
   exit
 }
 
-/etc/runit/1
+/etc/runit/1 || exit $?
 /etc/runit/2&
 RUNSVDIR=$!
 echo "Started runsvdir, PID is $RUNSVDIR"
-- 
2.25.1