diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-07-30 13:07:18 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-08-06 10:34:26 +0200 |
commit | fb08402b718b3e05fa11031f04237eaa12ce4f85 (patch) | |
tree | 56d94df07e8fca38fedad6270c143f7d361d0cfa /ipalib/plugins | |
parent | f954f2d1b92db10113b766759897d66c57e1e3ab (diff) | |
download | freeipa.git-fb08402b718b3e05fa11031f04237eaa12ce4f85.tar.gz freeipa.git-fb08402b718b3e05fa11031f04237eaa12ce4f85.tar.xz freeipa.git-fb08402b718b3e05fa11031f04237eaa12ce4f85.zip |
Fix installutils.get_password without a TTY
If stdin is a TTY, ipaserver.install.installutils uses getpass and all
is well. Without a TTY, though, there were two problems:
* The prompt was not printed
* On end of file, an empty string was returned, which caused read_password
to enter an infinite loop.
Fix both problems.
https://fedorahosted.org/freeipa/ticket/3824
Diffstat (limited to 'ipalib/plugins')
0 files changed, 0 insertions, 0 deletions