summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-09 03:47:59 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-09 03:47:59 +0200
commitb4a566918cc6fbf2d5e66ae354275d36fbe8d13a (patch)
tree04d2ec3b1beaf54efd645611f717f16463611522 /src/daemon
parentee4c350de76b2ba94b3cceb247201036dcac7a18 (diff)
print reason when we fail to kill a running daemon
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index ab438320..9cdcb6cd 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -606,7 +606,7 @@ int main(int argc, char *argv[]) {
case PA_CMD_KILL:
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
retval = 0;