projects
/
grml-hwinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e0b636
)
Remove only empty *.error files to see which commands have been executed
author
Michael Prokop
<mika@grml.org>
Thu, 16 Aug 2012 08:22:11 +0000
(10:22 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 16 Aug 2012 08:38:54 +0000
(10:38 +0200)
grml-hwinfo
patch
|
blob
|
history
diff --git
a/grml-hwinfo
b/grml-hwinfo
index
c0c654c
..
c5bbd8d
100755
(executable)
--- a/
grml-hwinfo
+++ b/
grml-hwinfo
@@
-325,7
+325,7
@@
cd "${OUTDIR}" || exit 1
)
# get rid of empty files
)
# get rid of empty files
-for file in *; do
+for file in *
.error
; do
test -s $file || rm $file
done
test -s $file || rm $file
done