projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf99f8e
)
core: fix unfortunate typo in unit_is_unneeded()
author
Lennart Poettering
<lennart@poettering.net>
Tue, 9 Oct 2018 20:23:14 +0000
(22:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 13 Oct 2018 11:01:08 +0000
(13:01 +0200)
Follow-up for
a3c1168ac293f16d9343d248795bb4c246aaff4a
.
src/core/unit.c
patch
|
blob
|
history
diff --git
a/src/core/unit.c
b/src/core/unit.c
index
1b9bbf7
..
d90456e
100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-2000,7
+2000,7
@@
bool unit_is_unneeded(Unit *u) {
* restart, then don't clean this one up. */
HASHMAP_FOREACH_KEY(v, other, u->dependencies[deps[j]], i) {
- if (
u
->job)
+ if (
other
->job)
return false;
if (!UNIT_IS_INACTIVE_OR_FAILED(unit_active_state(other)))