chiark / gitweb /
use /run instead of /dev/.run
[elogind.git] / src / dbus-common.c
index e352b8cf996d5475ff9dbf1e096ba9338d1727e3..dcce10e5525351a43fd7df06fafef8de5ff9a265 100644 (file)
@@ -104,7 +104,7 @@ int bus_connect(DBusBusType t, DBusConnection **_bus, bool *private, DBusError *
         /* If we are root, then let's not go via the bus */
         if (geteuid() == 0 && t == DBUS_BUS_SYSTEM) {
 
-                if (!(bus = dbus_connection_open_private("unix:path=/dev/.run/systemd/private", error))) {
+                if (!(bus = dbus_connection_open_private("unix:path=/run/systemd/private", error))) {
 #ifndef LEGACY
                         dbus_error_free(error);