Remove only empty *.error files to see which commands have been executed
authorMichael Prokop <mika@grml.org>
Thu, 16 Aug 2012 08:22:11 +0000 (10:22 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 16 Aug 2012 08:38:54 +0000 (10:38 +0200)
grml-hwinfo

index c0c654c..c5bbd8d 100755 (executable)
@@ -325,7 +325,7 @@ cd "${OUTDIR}" || exit 1
 )
 
 # get rid of empty files
-for file in *; do
+for file in *.error ; do
   test -s $file || rm $file
 done