boot: if container initialization steps fail, exit

boot: if container initialization steps fail, exit

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"

GitHub sha: 6be5513f

1 Like