X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-common.c;h=dcce10e5525351a43fd7df06fafef8de5ff9a265;hp=e352b8cf996d5475ff9dbf1e096ba9338d1727e3;hb=2b583ce6576d4a074ce6f1570b3e60b65c64ae7d;hpb=37f85e66e8f396b6f758e063531b95531aef628e diff --git a/src/dbus-common.c b/src/dbus-common.c index e352b8cf9..dcce10e55 100644 --- a/src/dbus-common.c +++ b/src/dbus-common.c @@ -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);