nice, fixed a long-standing bug where command lines were not printed
authorChris Koeritz <fred@gruntose.com>
Sun, 3 Mar 2013 03:17:54 +0000 (22:17 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 3 Mar 2013 03:17:54 +0000 (22:17 -0500)
in noisy mode.

scripts/clam/badness_catcher.sh

index e9b19f29023548ab52d93f2f33a4995a1d22f516..f25746f16f2462a64ff66d4d044ce9c1f7c94bbb 100755 (executable)
@@ -1,7 +1,9 @@
 #!/bin/bash
 # badness_catcher: runs the command line passed in and catches error conditions.
 
-#echo args are: $*
+if [ ! -z "$NOISY" ]; then
+  echo $*
+fi
 eval "$@"
 
 # get exit status.