We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b694b1a commit 35fc16cCopy full SHA for 35fc16c
rustup-init.sh
@@ -135,7 +135,7 @@ main() {
135
exit 1
136
fi
137
138
- if [ "$need_tty" = "yes" ]; then
+ if [ "$need_tty" = "yes" ] && [ ! -t 0 ]; then
139
# The installer is going to want to ask for confirmation by
140
# reading stdin. This script was piped into `sh` though and
141
# doesn't have stdin to pass to its children. Instead we're going
0 commit comments