Correct the error message if the user doesn't have a tty (#133)

This commit is contained in:
Ana Hobden 2022-12-21 11:37:55 -08:00 committed by GitHub
parent 986998f75a
commit b7033d0a6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ main() {
# doesn't have stdin to pass to its children. Instead we're going
# to explicitly connect /dev/tty to the installer's stdin.
if [ ! -t 1 ]; then
err "Unable to run interactively. Run with -y to accept defaults, --help for additional options"
err "Unable to run interactively. Run with --no-confirm to accept defaults, --help for additional options"
fi
ignore "$_file" "$@" < /dev/tty