diff options
author | Daniel Mack <github@zonque.org> | 2016-01-18 10:53:49 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-18 10:53:49 +0100 |
commit | c64327b7648f988186a3de55dde264c7c21f7d5f (patch) | |
tree | 73ed3989d384331d0ad43e4c6539edd5203dcb6d /src/core | |
parent | 0cdf4f210c70bdb8611c32c0150ee93cabd1e8b5 (diff) | |
parent | 13616ae59e7867f5304273800d39f00198b6a40b (diff) |
Merge pull request #2347 from aroig/gh/fix-udev-user-wants
Fix broken SYSTEMD_USER_WANTS in udev rules.
Diffstat (limited to 'src/core')
-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 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; |