diff options
-rw-r--r-- | www/apache2/files/apache.sh | 2 | ||||
-rw-r--r-- | www/apache20/files/apache.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/apache2/files/apache.sh b/www/apache2/files/apache.sh index 5c245d1f222d..5d6dc0db2e17 100644 --- a/www/apache2/files/apache.sh +++ b/www/apache2/files/apache.sh @@ -67,7 +67,7 @@ if [ -n "${2}" ]; then echo "$0: extra argument ignored" fi else - if [ "x${apache2_profiles}" != "x" ]; then + if [ "x${apache2_profiles}" != "x" -a "x${1}" != "xrestart" ]; then for profile in ${apache2_profiles}; do echo "===> apache2 profile: ${profile}" $0 $1 $profile diff --git a/www/apache20/files/apache.sh b/www/apache20/files/apache.sh index fe15a5421fb2..4afaeb55890b 100644 --- a/www/apache20/files/apache.sh +++ b/www/apache20/files/apache.sh @@ -67,7 +67,7 @@ if [ -n "${2}" ]; then echo "$0: extra argument ignored" fi else - if [ "x${apache2_profiles}" != "x" ]; then + if [ "x${apache2_profiles}" != "x" -a "x${1}" != "xrestart" ]; then for profile in ${apache2_profiles}; do echo "===> apache2 profile: ${profile}" $0 $1 $profile |