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
/
timer.c
diff --git
a/src/core/timer.c
b/src/core/timer.c
index b8039d82ec3549bf98ff11a96f5f3daa752e4c5b..ff8c30583cb4cf4c594ab0e86c8459938dd67b5d 100644
(file)
--- a/
src/core/timer.c
+++ b/
src/core/timer.c
@@
-374,7
+374,7
@@
static void timer_enter_running(Timer *t) {
dbus_error_init(&error);
/* Don't start job if we are supposed to go down */
- if (unit_
pending_inactive
(UNIT(t)))
+ if (unit_
stop_pending
(UNIT(t)))
return;
r = manager_add_job(UNIT(t)->manager, JOB_START, UNIT_TRIGGER(UNIT(t)),