chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memfd: always create our memfds with CLOEXEC set
[elogind.git]
/
src
/
core
/
manager.c
diff --git
a/src/core/manager.c
b/src/core/manager.c
index 859631d3f6c6f2c1cb5da56f0a41d78ebbbdf564..d427d88d4e5a111495ab719da3c56d2800f8e7ea 100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-2944,7
+2944,7
@@
static bool manager_get_show_status(Manager *m, StatusType type) {
return false;
/* If we cannot find out the status properly, just proceed. */
- if (manager_check_ask_password(m) > 0)
+ if (
type != STATUS_TYPE_EMERGENCY &&
manager_check_ask_password(m) > 0)
return false;
if (m->show_status > 0)