Welcome to little lamb

Code » anopa » commit fbec9df

stage1/3: Minor tweaks

author Olivier Brunel
2018-01-21 21:32:45 UTC
committer Olivier Brunel
2018-01-21 21:32:45 UTC
parent 16c88609bbdbc0e03c0c14ba3f15413d42f1dac6

stage1/3: Minor tweaks

src/scripts/aa-stage1 +1 -1
src/scripts/aa-stage3 +1 -1

diff --git a/src/scripts/aa-stage1 b/src/scripts/aa-stage1
index daccbe1..ca55370 100755
--- a/src/scripts/aa-stage1
+++ b/src/scripts/aa-stage1
@@ -63,7 +63,7 @@ foreground { aa-echo -O3 -t "Starting s6-svscan..." }
 ifelse -X -n { aa-test -O3 -p /run/services/.scandir/uncaught-logs/fifo }
 {
     foreground { aa-echo -O3 -Be "Cannot start s6-svscan: No uncaught-logs fifo found" }
-    foreground { aa-echo -O3 -t "Trying to open a shell..." }
+    foreground { aa-echo -O3 -t "Trying to open a shell; " +g exit +w " to continue" }
     emptyenv -c sh -i
 }
 
diff --git a/src/scripts/aa-stage3 b/src/scripts/aa-stage3
index f6e15b3..d129269 100755
--- a/src/scripts/aa-stage3
+++ b/src/scripts/aa-stage3
@@ -75,7 +75,7 @@ foreground {
 
     # Something went wrong
     foreground { aa-echo -O3 -Be "Unable to ${1}: Failed to pivot root" }
-    foreground { aa-echo -O3 -t "Trying to open a shell..." }
+    foreground { aa-echo -O3 -t "Trying to open a shell; " +g exit +w " to continue" }
     emptyenv -c sh -i
 }
 # close the logger now