From a7ca4d94dc7f9c0ac7d9d43f08bf2ef2e1123e3a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 11 Apr 2003 20:20:05 +0000 Subject: 2003-04-11 Havoc Pennington * bus/messagebus.in: remove pid file when stopping the message bus, since the bus won't have privileges to remove it itself. --- ChangeLog | 6 ++++++ bus/messagebus.in | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index c608f29a..8cd6ddaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-11 Havoc Pennington + + * bus/messagebus.in: remove pid file when stopping the + message bus, since the bus won't have privileges to remove it + itself. + 2003-04-11 Havoc Pennington * bus/bus.c (bus_context_new): move credentials change after diff --git a/bus/messagebus.in b/bus/messagebus.in index 45388a5e..e4a16967 100755 --- a/bus/messagebus.in +++ b/bus/messagebus.in @@ -37,6 +37,7 @@ stop() { echo if [ $RETVAL -eq 0 ]; then rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus + rm -f @DBUS_SYSTEM_PID_FILE@ fi } -- cgit