chiark / gitweb /
systemctl: allow globbing in commands which take multiple unit names
[elogind.git] / src / core / device.c
index 2c44dec..d3976c9 100644 (file)
@@ -268,7 +268,7 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p
                                 memcpy(e, w, l);
                                 e[l] = 0;
 
-                                n = unit_name_mangle(e);
+                                n = unit_name_mangle(e, false);
                                 if (!n) {
                                         r = -ENOMEM;
                                         goto fail;