http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html
* swap units that are activated by one name but shown in the kernel under another are semi-broken
-* Fix assert http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html
-
* 0595f9a1c182a84581749823ef47c5f292e545f9 is borked, freezes shutdown
(path: after installing inotify watches, recheck file again to fix race)
* ensure we strip empty directories from search path
-* maybe lower default timeout to 2min?
-
* GC unreferenced jobs (such as .device jobs)
* support wildcard expansion in ListenStream= and friends
if ((r = unit_name_to_instance(s, &i)) < 0)
goto fail;
- if (i && unit_vtable[t]->no_instances)
+ if (i && unit_vtable[t]->no_instances) {
+ r = -EINVAL;
goto fail;
+ }
/* Ensure that this unit is either instanced or not instanced,
* but not both. */