Fix usage of FAI's shell.log vs. scripts.log
authorMichael Prokop <mika@grml.org>
Fri, 2 Feb 2024 11:55:43 +0000 (12:55 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 2 Feb 2024 11:55:43 +0000 (12:55 +0100)
We check for scripts.log, but still use shell.log, d'oh :)

grml-live

index cc1dbfb..72fe591 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -819,7 +819,7 @@ else
 
       # FAI versions >=6.0 always writes to scripts.log
       if [ -r "$CHECKLOG/scripts.log" ] ; then
-         grep 'FAILED with exit code' $CHECKLOG/shell.log >> $LOGFILE && ERROR=6
+         grep 'FAILED with exit code' $CHECKLOG/scripts.log >> $LOGFILE && ERROR=6
       fi
 
       if [ -r "$CHECKLOG/fai.log" ] ; then