summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
Diffstat (limited to 'bus')
-rw-r--r--bus/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/bus/main.c b/bus/main.c
index b25c945c..53038dbd 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -503,12 +503,6 @@ main (int argc, char **argv)
exit (1);
}
- is_session_bus = bus_context_get_type(context) != NULL
- && strcmp(bus_context_get_type(context),"session") == 0;
-
- if (is_session_bus)
- _dbus_daemon_publish_session_bus_address (bus_context_get_address (context));
-
/* bus_context_new() closes the print_addr_pipe and
* print_pid_pipe
*/
@@ -529,8 +523,5 @@ main (int argc, char **argv)
bus_context_unref (context);
bus_selinux_shutdown ();
- if (is_session_bus)
- _dbus_daemon_unpublish_session_bus_address ();
-
return 0;
}