diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:51:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-05-11 22:51:49 +0200 |
commit | b2c23da8cea1987a1a329f5a964d3299b7ca7890 (patch) | |
tree | 66f369f148c30ef8d63b32cc33686b0370c6cbf8 /src/core/device.c | |
parent | 8b4305c7354f572fa0390b7580ba30af741aa0a5 (diff) |
core: rename SystemdRunningAs to ManagerRunningAs
It's primarily just a property of the Manager object after all, and we
try to refer to PID 1 as "manager" instead of "systemd", hence let's to
stick to this here too.
Diffstat (limited to 'src/core/device.c')
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c index a0eb0f449c..8eca4c2fa0 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -264,7 +264,7 @@ static int device_add_udev_wants(Unit *u, struct udev_device *dev) { assert(u); assert(dev); - property = u->manager->running_as == SYSTEMD_USER ? "SYSTEMD_USER_WANTS" : "SYSTEMD_WANTS"; + property = u->manager->running_as == MANAGER_USER ? "MANAGER_USER_WANTS" : "SYSTEMD_WANTS"; wants = udev_device_get_property_value(dev, property); if (!wants) return 0; |