chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ask-password: add minimal plymouth password agent
[elogind.git]
/
src
/
util.c
diff --git
a/src/util.c
b/src/util.c
index 973cee15e31a2d55fc49be2f2a9366d449f8a039..f5ee29897f519d39071dd665ae650640025b6d3d 100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-3380,7
+3380,7
@@
int ask_password_tty(const char *message, usec_t until, const char *flag_file, c
assert(_passphrase);
if (flag_file) {
- if ((notify = inotify_init1(IN_CLOEXEC)) < 0) {
+ if ((notify = inotify_init1(IN_CLOEXEC
|IN_NONBLOCK
)) < 0) {
r = -errno;
goto finish;
}