From 772dcc6b13691e3ae1dc5923f6dcdcebe1da3edf Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 16 Aug 2012 10:22:11 +0200 Subject: [PATCH] Remove only empty *.error files to see which commands have been executed --- grml-hwinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-hwinfo b/grml-hwinfo index c0c654c..c5bbd8d 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -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 -- 2.1.4