Skip to content

Commit

Permalink
revert printing testing internet command
Browse files Browse the repository at this point in the history
dumps too much data and only useful for testing
  • Loading branch information
grass committed Nov 27, 2022
1 parent 1314b5e commit 2b73686
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions usr/bin/installer-dist
Original file line number Diff line number Diff line change
Expand Up @@ -1715,12 +1715,12 @@ main(){
if should_download; then
if test "${dry_run}" != "1"; then
log notice "Testing internet connection..."
# shellcheck disable=SC2046,SC2086
log_run "${transfer_proxy_prefix:-} ${transfer_utility}
${transfer_proxy_suffix:-} ${transfer_dryrun_opt}
${transfer_time_opt} ${transfer_time_small_file}
${transfer_size_opt} ${transfer_size_test_connection}
${url_origin}" ||
# shellcheck disable=SC2046,SC2086,SC2090
${transfer_proxy_prefix:-} ${transfer_utility} \
${transfer_proxy_suffix:-} ${transfer_dryrun_opt} \
${transfer_time_opt} ${transfer_time_small_file} \
${transfer_size_opt} ${transfer_size_test_connection} \
${url_origin} >/dev/null ||
die $? "Can't connect to ${url_origin}, perhaps no internet?"
log notice "Connection to ${url_origin} succeeded."
fi
Expand Down

0 comments on commit 2b73686

Please sign in to comment.