diff --git a/etc/webc/logbot.sh b/etc/webc/logbot.sh index 4c9e69bb33..a35c0eb964 100755 --- a/etc/webc/logbot.sh +++ b/etc/webc/logbot.sh @@ -2,7 +2,7 @@ . /etc/webc/functions.sh . /etc/webc/webc.conf -if !cmdline_has debug; then +if ! cmdline_has debug; then exec "$@" >/dev/null 2>/dev/null else exec "$@" 2>&1 | while read -r line