Welcome to little lamb

Code » anopa » commit b3e357c

stage1/2: Minor fix

author Olivier Brunel
2018-01-21 14:56:04 UTC
committer Olivier Brunel
2018-01-21 19:49:08 UTC
parent 06993d53f5902893635928073648ef4b0724ed5b

stage1/2: Minor fix

We obviously shouldn't use --log-file w/ aa-incmdline when reading an
argument (unless --quiet is used), else the argument's value will be
printed in the log.

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

diff --git a/src/scripts/aa-stage1 b/src/scripts/aa-stage1
index f01b91e..daccbe1 100755
--- a/src/scripts/aa-stage1
+++ b/src/scripts/aa-stage1
@@ -49,7 +49,7 @@ cd /
 umask 022
 
 # Create the repository
-backtick -n -D onboot REPODIR { aa-incmdline -O3 -rs aa }
+backtick -n -D onboot REPODIR { aa-incmdline -rs aa }
 backtick -n -D onboot REPODIR {
     importas -u REPODIR REPODIR
     if { aa-test -e /var/lib/repodir/$REPODIR } echo $REPODIR
diff --git a/src/scripts/aa-stage2 b/src/scripts/aa-stage2
index 9aafe12..3d13a90 100755
--- a/src/scripts/aa-stage2
+++ b/src/scripts/aa-stage2
@@ -44,7 +44,7 @@ if -n -t
   fdmove -c 2 1
   # And start everything
   foreground { aa-echo -O3 -B "Stage 2: Initializing system..." }
-  backtick -n -D onboot LISTDIR { aa-incmdline -O3 -rs aa }
+  backtick -n -D onboot LISTDIR { aa-incmdline -rs aa }
   importas -u LISTDIR LISTDIR
   # We have a tty in stdin, become session leader and set controlling terminal.
   # This is so Ctrl+C will trigger a SIGINT to aa-start, so one can manually