From d3540e92859e98bd30c344c647fd571d5596fd31 Mon Sep 17 00:00:00 2001 From: David Rabkin Date: Sun, 21 Jan 2024 19:31:27 +0200 Subject: [PATCH] speed: no need to hide the output, it runs quietly already --- app/speed | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/speed b/app/speed index 823228c..7fad145 100755 --- a/app/speed +++ b/app/speed @@ -1,6 +1,6 @@ #!/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 @@ -8,7 +8,7 @@ # 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 @@ -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 }