chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: don't busy loop if a job is still running but the delay timeout expires
[elogind.git]
/
src
/
login
/
logind.c
diff --git
a/src/login/logind.c
b/src/login/logind.c
index 3b9da1985885990f78ab3360724990fa0c374992..536612cbd258c6430bb0af3b4fdba470720fbdb8 100644
(file)
--- a/
src/login/logind.c
+++ b/
src/login/logind.c
@@
-1626,7
+1626,7
@@
int manager_run(Manager *m) {
manager_gc(m, true);
- if (m->action_what != 0) {
+ if (m->action_what != 0
&& !m->action_job
) {
usec_t x, y;
x = now(CLOCK_MONOTONIC);