Get rid of generated files which are empty
[grml-hwinfo.git] / grml-hwinfo
index faf0e74..9b261c1 100755 (executable)
@@ -257,6 +257,11 @@ else
 fi
 )
 
+# get rid of empty files
+for file in *; do
+  test -s $file || rm $file
+done
+
 echo
 
 cd "${WORKING_DIR}"