chiark / gitweb /
timedated: do not incorrectly close non-opened dbus connection
authorShawn Landden <shawnlandden@gmail.com>
Mon, 3 Dec 2012 00:50:55 +0000 (00:50 +0000)
committerKay Sievers <kay@vrfy.org>
Mon, 3 Dec 2012 00:56:42 +0000 (01:56 +0100)
commitb779821b8fdcb3f2bdd0c362bceaae3c76ed9678
treeeb972cea988f61bbb53ce8b3900ef464c91d0817
parenta705d08519d26cd2ee581cd04cb70888b3a55b62
timedated: do not incorrectly close non-opened dbus connection

Fix the fallowing error when no system dbus available:

Failed to get system D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
process 14920: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2889.
This is normally a bug in some application using the D-Bus library.
process 14920: arguments to dbus_connection_unref() were incorrect, assertion "connection != NULL" failed in file ../../dbus/dbus-connection.c line 2776.
This is normally a bug in some application using the D-Bus library.
src/timedate/timedated.c