X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audiod.c;h=65343e5c26fed69375c25b7ae8a2ac26880dc6ab;hb=62414974b55d78a67d4170da85091a915087219f;hp=dee31d5c5606727d1f320e1ad16abb09a0c6b97b;hpb=850873ce2feac4bf3736d92e8fa008ebde79affe;p=paraslash.git diff --git a/audiod.c b/audiod.c index dee31d5c..65343e5c 100644 --- a/audiod.c +++ b/audiod.c @@ -144,6 +144,8 @@ void para_log(int ll, const char* fmt,...) if (ll < conf.loglevel_arg) return; + if (!logfile && conf.daemon_given) + return; if (!hostname) hostname = para_hostname(); outfd = logfile? logfile : stderr;