dbus: do not exit on disconnection
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
39c351d112
commit
3831c84a84
2
dbus.c
2
dbus.c
|
@ -469,8 +469,6 @@ a_dbus_connect(DBusBusType type, const char *type_name,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dbus_connection_set_exit_on_disconnect(dbus_connection, FALSE);
|
|
||||||
|
|
||||||
if(dbus_connection_get_unix_fd(dbus_connection, &fd))
|
if(dbus_connection_get_unix_fd(dbus_connection, &fd))
|
||||||
{
|
{
|
||||||
fcntl(fd, F_SETFD, FD_CLOEXEC);
|
fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||||
|
|
Loading…
Reference in New Issue