diff options
author | Stef Walter <stefw@gnome.org> | 2013-04-04 15:55:10 +0200 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-04-05 07:34:37 +0200 |
commit | ca0d38596d711e70a1d58657024aabd8c131512b (patch) | |
tree | 9a35623e78261a2d21a872bb2ae46961990da814 /lib/testtools/doc/make.bat | |
parent | 7f366d745c1d4e833470d853ec484459157616e7 (diff) | |
download | samba-ca0d38596d711e70a1d58657024aabd8c131512b.tar.gz samba-ca0d38596d711e70a1d58657024aabd8c131512b.tar.bz2 samba-ca0d38596d711e70a1d58657024aabd8c131512b.zip |
getpass: Don't fail if stdin is not a tty
We don't need to manipulate the tty state (such as turning off
echo) when prompting for passwords if we're not reading from a tty.
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Fri Apr 5 07:34:37 CEST 2013 on sn-devel-104
Diffstat (limited to 'lib/testtools/doc/make.bat')
0 files changed, 0 insertions, 0 deletions