From: Michael Prokop Date: Mon, 8 Nov 2010 17:29:31 +0000 (+0100) Subject: Do not set ERROR=2 twice. X-Git-Tag: v0.12.0~18 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=25ea8954fe47f63234eb771107de0c249d8f1cc8 Do not set ERROR=2 twice. Thanks: Christian Hofstaedtler --- diff --git a/grml-live b/grml-live index 4e8d461..d126f82 100755 --- a/grml-live +++ b/grml-live @@ -567,7 +567,7 @@ else fi if [ -r "$CHECKLOG/shell.log" ] ; then - grep 'FAILED with exit code' $CHECKLOG/shell.log >> $LOGFILE && ERROR=2 + grep 'FAILED with exit code' $CHECKLOG/shell.log >> $LOGFILE && ERROR=6 fi if [ -n "$ERROR" ] ; then