From e5ebf783cb8e353bf1e07b34ac344bd4883a4ec2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Oct 2010 04:35:25 +0200 Subject: ask-password: add minimal plymouth password agent --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') 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; } -- cgit v1.2.3-54-g00ecf