summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-26 04:35:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-26 04:35:25 +0200
commite5ebf783cb8e353bf1e07b34ac344bd4883a4ec2 (patch)
treea7866ea0a4d57b5ae3c4776ff8a73a70136c9afe /src/util.c
parent5f36328f55dfc7942b7db74271206d0c60c48799 (diff)
ask-password: add minimal plymouth password agent
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 973cee15e3..f5ee29897f 100644
--- 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;
}