summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-01-18 10:53:49 +0100
committerDaniel Mack <github@zonque.org>2016-01-18 10:53:49 +0100
commitc64327b7648f988186a3de55dde264c7c21f7d5f (patch)
tree73ed3989d384331d0ad43e4c6539edd5203dcb6d
parent0cdf4f210c70bdb8611c32c0150ee93cabd1e8b5 (diff)
parent13616ae59e7867f5304273800d39f00198b6a40b (diff)
Merge pull request #2347 from aroig/gh/fix-udev-user-wants
Fix broken SYSTEMD_USER_WANTS in udev rules.
-rw-r--r--src/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c
index bcd4d1146b..56ed947089 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -267,7 +267,7 @@ static int device_add_udev_wants(Unit *u, struct udev_device *dev) {
assert(u);
assert(dev);
- property = u->manager->running_as == MANAGER_USER ? "MANAGER_USER_WANTS" : "SYSTEMD_WANTS";
+ property = u->manager->running_as == MANAGER_USER ? "SYSTEMD_USER_WANTS" : "SYSTEMD_WANTS";
wants = udev_device_get_property_value(dev, property);
if (!wants)
return 0;