[Pkg-utopia-commits] r342 - packages/experimental/dbus/debian

Sjoerd Simons sjoerd at costa.debian.org
Fri Oct 28 13:49:20 UTC 2005


Author: sjoerd
Date: 2005-10-28 13:49:19 +0000 (Fri, 28 Oct 2005)
New Revision: 342

Modified:
   packages/experimental/dbus/debian/dbus.init
Log:
merge the sleep with dbus-send, so we use  the combined exit code for log_end_msg

Modified: packages/experimental/dbus/debian/dbus.init
===================================================================
--- packages/experimental/dbus/debian/dbus.init	2005-10-28 13:33:32 UTC (rev 341)
+++ packages/experimental/dbus/debian/dbus.init	2005-10-28 13:49:19 UTC (rev 342)
@@ -72,9 +72,8 @@
 {
   log_begin_msg "Reloading $DESC config"
   dbus-send --system --type=method_call --dest=org.freedesktop.DBus \
-     / org.freedesktop.DBus.ReloadConfig
+     / org.freedesktop.DBus.ReloadConfig 2> /dev/null && sleep 1
   # hopefully this is enough time for dbus to reload it's config file.
-  sleep 1
   log_end_msg $?
 }
 




More information about the Pkg-utopia-commits mailing list