Remove only empty *.error files to see which commands have been executed
[grml-hwinfo.git] / 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