Correction de soucis pour le test $IS_APACHECTL
This commit is contained in:
parent
3abf02b19d
commit
219e60ca40
|
@ -307,8 +307,8 @@ if [ "$IS_MODSECURITY" = 1 ]; then
|
|||
fi
|
||||
|
||||
# Verification de la syntaxe de la conf d'Apache
|
||||
if [ "$IS_APACHECTL" =1 ]; then
|
||||
is_installed apache2.2-common && (/usr/sbin/apache2ctl configtest 2>&1 |grep "^Syntax OK$" || echo 'IS_APACHECTL FAILED!')
|
||||
if [ "$IS_APACHECTL" = 1 ]; then
|
||||
is_installed apache2.2-common && (/usr/sbin/apache2ctl configtest 2>&1 |grep -q "^Syntax OK$" || echo 'IS_APACHECTL FAILED!')
|
||||
fi
|
||||
|
||||
# Verification de la priorité du package samba si les backports sont utilisés
|
||||
|
|
Loading…
Reference in a new issue