chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: rework device state logic
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 63ccd671da99a829d3d0c2a770df72a32217614f..7cd704351cb0e30300cf37436fed9c0c49156cd7 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-2834,7
+2834,6
@@
int unit_add_node_link(Unit *u, const char *what, bool wants) {
return -ENOMEM;
r = manager_load_unit(u->manager, e, NULL, NULL, &device);
-
if (r < 0)
return r;