Permalink
Browse files

When not running in debug mode, let logbot suppress all output

  • Loading branch information...
1 parent 7b95e10 commit b15bade12f9abbd5b3521672d5dc19498987cddd @matthijskooijman matthijskooijman committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 etc/webc/logbot.sh
View
@@ -2,7 +2,7 @@
. /etc/webc/functions.sh
. /etc/webc/webc.conf
-! cmdline_has debug && { "$@"; exit 0; }
+! cmdline_has debug && { "$@" >/dev/null 2>/dev/null; exit 0; }
"$@" 2>&1 | while read line
do

0 comments on commit b15bade

Please sign in to comment.