Skip to content

Commit c19b43c

Browse files
authored
Merge pull request #2371 from perlun/patch-1
Minor wording improvements in 'echo' output
2 parents 637ba97 + fe44cf4 commit c19b43c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rustup-init.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ downloader() {
402402
if [ -n "$_ciphersuites" ]; then
403403
curl --proto '=https' --tlsv1.2 --ciphers "$_ciphersuites" --silent --show-error --fail --location "$1" --output "$2"
404404
else
405-
echo "Warning: Not forcing strong cipher suites for TLS, this is potentially less secure"
405+
echo "Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure"
406406
if ! check_help_for "$3" curl --proto --tlsv1.2; then
407-
echo "Warning: Not forcing TLS v1.2, this is potentially less secure"
407+
echo "Warning: Not enforcing TLS v1.2, this is potentially less secure"
408408
curl --silent --show-error --fail --location "$1" --output "$2"
409409
else
410410
curl --proto '=https' --tlsv1.2 --silent --show-error --fail --location "$1" --output "$2"
@@ -416,9 +416,9 @@ downloader() {
416416
if [ -n "$_ciphersuites" ]; then
417417
wget --https-only --secure-protocol=TLSv1_2 --ciphers "$_ciphersuites" "$1" -O "$2"
418418
else
419-
echo "Warning: Not forcing strong cipher suites for TLS, this is potentially less secure"
419+
echo "Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure"
420420
if ! check_help_for "$3" wget --https-only --secure-protocol; then
421-
echo "Warning: Not forcing TLS v1.2, this is potentially less secure"
421+
echo "Warning: Not enforcing TLS v1.2, this is potentially less secure"
422422
wget "$1" -O "$2"
423423
else
424424
wget --https-only --secure-protocol=TLSv1_2 "$1" -O "$2"

0 commit comments

Comments
 (0)