dbus: do not exit on bus disconnection
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
6d755c5524
commit
acf4202143
1
dbus.c
1
dbus.c
|
@ -488,6 +488,7 @@ 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