summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/device.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 8121dc95d1..be76cafaed 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -269,11 +269,8 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p
log_warning("SYSTEMD_ALIAS for %s is not a path, ignoring: %s", sysfs, e);
free(e);
} else {
-
- r = device_add_escaped_name(u, e);
+ device_update_unit(m, dev, e, false);
free(e);
- if (r < 0)
- goto fail;
}
}
}