chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: rework stop pending logic
[elogind.git]
/
src
/
core
/
path.c
diff --git
a/src/core/path.c
b/src/core/path.c
index e1330f6c95e3a994355e37a5003bea9c82a4c3f8..ab1fe2eb6539852f8e27ed0b294bd35381fa74b1 100644
(file)
--- a/
src/core/path.c
+++ b/
src/core/path.c
@@
-523,7
+523,7
@@
static void path_enter_running(Path *p) {
dbus_error_init(&error);
/* Don't start job if we are supposed to go down */
- if (unit_
pending_inactive
(UNIT(p)))
+ if (unit_
stop_pending
(UNIT(p)))
return;
r = manager_add_job(UNIT(p)->manager, JOB_START, UNIT_TRIGGER(UNIT(p)),