boot: if container initialization steps fail, exit
authorMichael Brown <supermathie@gmail.com>
Tue, 19 Feb 2019 21:04:20 +0000 (16:04 -0500)
committerMichael Brown <supermathie@gmail.com>
Tue, 19 Feb 2019 21:04:20 +0000 (16:04 -0500)
image/base/boot

index 3e46a06a15d312227d34b7d8205e9847911215e7..67fa5aa12351af6b9c0635f8ddc8b8f29d31e296 100755 (executable)
@@ -17,7 +17,7 @@ shutdown() {
   exit
 }
 
-/etc/runit/1
+/etc/runit/1 || exit $?
 /etc/runit/2&
 RUNSVDIR=$!
 echo "Started runsvdir, PID is $RUNSVDIR"