From 48c04203bf01cebecc7e9d2ca763590a0908b143 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 13 Apr 2016 15:39:57 +0400 Subject: [PATCH] =?UTF-8?q?ne=20pas=20afficher=20d'erreur=20si=20apache=20?= =?UTF-8?q?n'est=20pas=20install=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ulib/apache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ulib/apache b/lib/ulib/apache index 547ee79..75d16f2 100644 --- a/lib/ulib/apache +++ b/lib/ulib/apache @@ -51,7 +51,7 @@ function get_default_apachebin_prefix() { function get_default_apacheversion_prefix() { [ -n "$APACHEBIN" ] || return - local version="$($APACHEBIN -v | grep version:)" + local version="$($APACHEBIN -v 2>/dev/null | grep version:)" if [[ "$version" == *1.3* ]]; then echo "" elif [[ "$version" == *2.0* ]]; then