* fix error message when starting polypaudio while it is already running

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@326 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-12-15 01:17:04 +00:00
parent 400dacd66f
commit b1369d2907

View file

@ -308,8 +308,10 @@ int main(int argc, char *argv[]) {
chdir("/");
if (conf->use_pid_file) {
if (pa_pid_file_create() < 0)
if (pa_pid_file_create() < 0) {
pa_loop_write(daemon_pipe[1], &retval, sizeof(retval));
goto finish;
}
valid_pid_file = 1;
}