chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use /run instead of /dev/.run
[elogind.git]
/
src
/
dbus-common.c
diff --git
a/src/dbus-common.c
b/src/dbus-common.c
index e352b8cf996d5475ff9dbf1e096ba9338d1727e3..dcce10e5525351a43fd7df06fafef8de5ff9a265 100644
(file)
--- 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 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);
#ifndef LEGACY
dbus_error_free(error);