mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
print reason when we fail to kill a running daemon
This commit is contained in:
parent
ee4c350de7
commit
b4a566918c
1 changed files with 1 additions and 1 deletions
|
|
@ -606,7 +606,7 @@ int main(int argc, char *argv[]) {
|
||||||
case PA_CMD_KILL:
|
case PA_CMD_KILL:
|
||||||
|
|
||||||
if (pa_pid_file_kill(SIGINT, NULL, "pulseaudio") < 0)
|
if (pa_pid_file_kill(SIGINT, NULL, "pulseaudio") < 0)
|
||||||
pa_log(_("Failed to kill daemon."));
|
pa_log(_("Failed to kill daemon: %s"), pa_cstrerror(errno));
|
||||||
else
|
else
|
||||||
retval = 0;
|
retval = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue