fix proxy contitional reload typo

This commit is contained in:
Seddik Alaoui Ismaili 2023-05-19 23:24:18 +02:00
parent 8c729cc751
commit 6038999d66

View file

@ -9,7 +9,7 @@ rpm -q $PACKAGE
INSTALLED=$?
if [ ! -f /etc/httpd/ticketkey_*.tkey -a ! $HOST =~ (^proxy) ]; then
if [[ ! -f "/etc/httpd/ticketkey_*.tkey" && "$HOST" =~ "^proxy" ]]; then
# This host is not configured yet and not proxy host, do not try and restart httpd
exit 0
fi