mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
* 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:
parent
400dacd66f
commit
b1369d2907
1 changed files with 4 additions and 2 deletions
|
|
@ -308,8 +308,10 @@ int main(int argc, char *argv[]) {
|
||||||
chdir("/");
|
chdir("/");
|
||||||
|
|
||||||
if (conf->use_pid_file) {
|
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;
|
goto finish;
|
||||||
|
}
|
||||||
|
|
||||||
valid_pid_file = 1;
|
valid_pid_file = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue