Skip to content

Commit

Permalink
speed: no need to hide the output, it runs quietly already
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Jan 21, 2024
1 parent 06a6b15 commit d3540e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/speed
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh
# vi:et lbr noet sw=2 ts=2 tw=79 wrap
# Copyright 2020-2023 David Rabkin
# Copyright 2020-2024 David Rabkin
# The script uses local variables which are not POSIX but supported by most
# shells. See:
# https://stackoverflow.com/q/18597697
# shellcheck disable=SC3043 # Uses local variables.
# shellcheck disable=SC1091,SC2034 # File not following, appears unused.
set -- "$@" --quiet
readonly \
BASE_APP_VERSION=0.9.20231216 \
BASE_APP_VERSION=0.9.20240121 \
BASE_MIN_VERSION=0.9.20230505
. base.sh

Expand All @@ -29,7 +29,7 @@ main() {
# Prints current download and upload speeds. The function is ran in a loop,
# rests in case of an error.
test_speed() {
url_exists google.com >/dev/null || {
url_exists google.com || {
loge Check internet connection.
return 0
}
Expand Down

0 comments on commit d3540e9

Please sign in to comment.