[Fai-commit] r5028 - people/eartoast/bugfix
glaweh-guest at alioth.debian.org
glaweh-guest at alioth.debian.org
Sun Aug 10 12:00:03 UTC 2008
Author: glaweh-guest
Date: 2008-08-10 12:00:02 +0000 (Sun, 10 Aug 2008)
New Revision: 5028
Modified:
people/eartoast/bugfix/savelog.LAST.source
Log:
information about packages which could not be found is written to
fai.log even without verbose mode; ignore the entry from fai.log in this case
(seems more consistent, as software.log lists everything package-related)
Modified: people/eartoast/bugfix/savelog.LAST.source
===================================================================
--- people/eartoast/bugfix/savelog.LAST.source 2008-08-10 11:49:50 UTC (rev 5027)
+++ people/eartoast/bugfix/savelog.LAST.source 2008-08-10 12:00:02 UTC (rev 5028)
@@ -143,6 +143,9 @@
if [ "$verbose" ]; then
egrep -v '^software.log:' $errfile > $LOGDIR/tempfile
mv $LOGDIR/tempfile $errfile
+else
+ egrep -v "^fai.log:Couldn't find any package whose name or description matched" $errfile > $LOGDIR/tempfile
+ mv $LOGDIR/tempfile $errfile
fi
if [ -s $errfile ]; then
More information about the Fai-commit
mailing list