feat: add interactive Windows installer
This commit is contained in:
@@ -101,7 +101,9 @@ password_hash_from_terminal() {
|
||||
password=
|
||||
restore_tty=false
|
||||
if [ "$password_stdin" = true ]; then
|
||||
IFS= read -r password || fail "could not read password from stdin"
|
||||
# Password files commonly omit a final newline. POSIX read returns
|
||||
# non-zero at that EOF even after assigning the final nonempty line.
|
||||
IFS= read -r password || [ -n "$password" ] || fail "could not read password from stdin"
|
||||
else
|
||||
[ -t 0 ] || fail "stdin is not a terminal; use --web-password-stdin"
|
||||
printf 'Fixture password for %s: ' "$RDP_ACCESS_WEB_USER" >&2
|
||||
|
||||
Reference in New Issue
Block a user