From: Michael Prokop Date: Thu, 3 Jul 2014 14:03:04 +0000 (+0200) Subject: Check for failed updatebase and instsoft hook executions X-Git-Tag: v0.25.1~1 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=1610e49264d91a2c9015583595af1b30c4c2d44a;hp=862dda19d8da57572cc4032d0882f32273dee999 Check for failed updatebase and instsoft hook executions --- diff --git a/grml-live b/grml-live index cce5a68..84ef39c 100755 --- a/grml-live +++ b/grml-live @@ -746,6 +746,11 @@ else grep 'FAILED with exit code' $CHECKLOG/shell.log >> $LOGFILE && ERROR=6 fi + if [ -r "$CHECKLOG/fai.log" ] ; then + grep 'updatebase.*FAILED with exit code' "$CHECKLOG/fai.log" >> "$LOGFILE" && ERROR=7 + grep 'instsoft.*FAILED with exit code' "$CHECKLOG/fai.log" >> "$LOGFILE" && ERROR=8 + fi + if [ -n "$ERROR" ] ; then log "Error: there was a critical error [${ERROR}] during execution of stage 'fai dirinstall' [$(date)]" eerror "Error: there was a critical error during execution of stage 'fai dirinstall'"