chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TODO
[elogind.git]
/
src
/
manager.c
diff --git
a/src/manager.c
b/src/manager.c
index 19e54417221fdfeb969b5703af979fb9e5cf0cd2..74bd740747800217ec2911d6be0c8e903753514b 100644
(file)
--- a/
src/manager.c
+++ b/
src/manager.c
@@
-2943,7
+2943,7
@@
bool manager_is_booting_or_shutting_down(Manager *m) {
assert(m);
/* Is the initial job still around? */
assert(m);
/* Is the initial job still around? */
- if (manager_get_job(m,
1
))
+ if (manager_get_job(m,
m->default_unit_job_id
))
return true;
/* Is there a job for the shutdown target? */
return true;
/* Is there a job for the shutdown target? */