Correct the error message if the user doesn't have a tty (#133)
This commit is contained in:
parent
986998f75a
commit
b7033d0a6c
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ main() {
|
||||||
# doesn't have stdin to pass to its children. Instead we're going
|
# doesn't have stdin to pass to its children. Instead we're going
|
||||||
# to explicitly connect /dev/tty to the installer's stdin.
|
# to explicitly connect /dev/tty to the installer's stdin.
|
||||||
if [ ! -t 1 ]; then
|
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
|
fi
|
||||||
|
|
||||||
ignore "$_file" "$@" < /dev/tty
|
ignore "$_file" "$@" < /dev/tty
|
||||||
|
|
Loading…
Reference in a new issue