--- utils/dvb/dvbv5-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/dvb/dvbv5-daemon.c b/utils/dvb/dvbv5-daemon.c index 58485ac6..711694e0 100644 --- a/utils/dvb/dvbv5-daemon.c +++ b/utils/dvb/dvbv5-daemon.c @@ -570,7 +570,7 @@ void dvb_remote_log(void *priv, int level, const char *fmt, ...) va_end(ap); - if (fd > 0) + if (fd >= 0) send_data(fd, "%i%s%i%s", 0, "log", level, buf); else local_log(level, buf); -- 2.14.1