X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/3149c1e2b844685497d87db1a031197527101766..0ca6d097e900ff5d46ffc4968a468fefecb345af:/server/play.c?ds=inline diff --git a/server/play.c b/server/play.c index 04d7d01..13854f7 100644 --- a/server/play.c +++ b/server/play.c @@ -151,10 +151,14 @@ void speaker_setup(ev_source *ev) { signal(SIGPIPE, SIG_DFL); #if 0 execlp("valgrind", "valgrind", SPEAKER, "--config", configfile, - debugging ? "--debug" : "--no-debug", (char *)0); + debugging ? "--debug" : "--no-debug", + log_default == &log_syslog ? "--syslog" : "--no-syslog", + (char *)0); #else execlp(SPEAKER, SPEAKER, "--config", configfile, - debugging ? "--debug" : "--no-debug", (char *)0); + debugging ? "--debug" : "--no-debug", + log_default == &log_syslog ? "--syslog" : "--no-syslog", + (char *)0); #endif fatal(errno, "error invoking %s", SPEAKER); }