mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
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 changed files with 1 additions and 0 deletions
1
dbus.c
1
dbus.c
|
@ -488,6 +488,7 @@ a_dbus_connect(DBusBusType type, const char *type_name,
|
|||
}
|
||||
else
|
||||
{
|
||||
dbus_connection_set_exit_on_disconnect(dbus_connection, false);
|
||||
if(dbus_connection_get_unix_fd(dbus_connection, &fd))
|
||||
{
|
||||
fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||
|
|
Loading…
Reference in a new issue