do printf instead of function (#1268)

Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
Daniel Hansson 2020-05-31 16:08:05 +02:00 committed by GitHub
parent 6bb64dd9f0
commit cbca4de42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ NCDB=1 && FIRST_IFACE=1 source /var/scripts/lib.sh
unset NCDB
unset FIRST_IFACE
# If we have internet, then use the latest variables from the lib remote file
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
elif printf "Testing internet connection..." && ping github.com -c 2
then
true
# shellcheck source=lib.sh

View File

@ -10,7 +10,7 @@ true
# shellcheck source=lib.sh
source /var/scripts/lib.sh
# If we have internet, then use the latest variables from the lib remote file
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
elif printf "Testing internet connection..." && ping github.com -c 2
then
# shellcheck disable=2034,2059
true

View File

@ -18,7 +18,7 @@ true
FIRST_IFACE=1 source /var/scripts/lib.sh
unset FIRST_IFACE
# If we have internet, then use the latest variables from the lib remote file
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
elif printf "Testing internet connection..." && ping github.com -c 2
then
# shellcheck disable=2034,2059
true