From 20f737ef970a6732fbec5992effe8d9d78168420 Mon Sep 17 00:00:00 2001 From: deltax Date: Sun, 22 Apr 2018 13:09:34 +0200 Subject: [PATCH] Disable error messages --- lib/installer/InstallerUtils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installer/InstallerUtils.sh b/lib/installer/InstallerUtils.sh index 4b5f972..ad39a84 100755 --- a/lib/installer/InstallerUtils.sh +++ b/lib/installer/InstallerUtils.sh @@ -190,7 +190,7 @@ function installer_utils_check_dependencies() { # Parameters: $1 - CLI Tools missing array (will be installed) $2 - substitutes array function installer_utils_run_dependencies() { if [ ! "$1" ]; then return 1; fi - ping -q -w 1 -c 8.8.8.8 > /dev/null || echo -e "\n[!] No internet connection found"; exit 1 + ping -q -w 1 -c 8.8.8.8 2> /dev/null || echo -e "\n[!] No internet connection found"; exit 1 # The array below holds all the packages that will be installed. local __installer_utils_run_dependencies__dependenciesInfo=("${!1}")