Code

collectd.init.d: d_start: Do not redirect stderr to /dev/null.
authorSebastian Harl <sh@tokkee.org>
Sat, 6 Oct 2007 21:56:27 +0000 (23:56 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 6 Oct 2007 21:56:27 +0000 (23:56 +0200)
Else warning messages about failed plugins will not be visible.

debian/collectd.init.d

index 31d982745897132d08baa4174123d8348da70976..42a90cd6047795ed2f2d4f5e2cea2146f621ed39 100755 (executable)
@@ -47,7 +47,7 @@ fi
 
 d_start() {
        start-stop-daemon --start --quiet --pidfile "$PIDFILE" \
-               --exec $DAEMON -- -C "$CONFIGFILE" -P "$PIDFILE" 2> /dev/null
+               --exec $DAEMON -- -C "$CONFIGFILE" -P "$PIDFILE"
 }
 
 still_running_warning="