diff options
author | Franck Bui <fbui@suse.com> | 2019-09-19 19:01:57 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2019-10-05 08:08:24 +0200 |
commit | 825721eb8d4814d7491876f7a4f1ba1173496a0e (patch) | |
tree | a11ff201737947c5b0400e5d3995f8378449e75e /src/tty-ask-password-agent | |
parent | 1322757061e1e41cabf7098c4dc99b83520612e8 (diff) | |
download | systemd-825721eb8d4814d7491876f7a4f1ba1173496a0e.tar.gz |
tty-ask-pwd-agent: add a FIXME
Diffstat (limited to 'src/tty-ask-password-agent')
-rw-r--r-- | src/tty-ask-password-agent/tty-ask-password-agent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 8bea524952..b3b7403db2 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -541,6 +541,9 @@ static int process_and_watch_password_files(bool watch) { * unlikely to trigger any events. */ timeout = 0; else + /* FIXME: we should do something here since otherwise the service + * requesting the password won't notice the error and will wait + * indefinitely. */ log_error_errno(r, "Failed to process password: %m"); } |