Skip to content

Commit 4ef3d01

Browse files
committed
Syntax error in Apache2 prefork to event mode switching script
1 parent e5e4e9a commit 4ef3d01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/upgrade/manual/migrate_mpm_event.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ if [ "$WEB_SYSTEM" != "apache2" ]; then
1010
echo "Apache2 isn't installed on your system, canceling migration..." && exit 1
1111
fi
1212

13-
#Check if PHP-FPM is instaled
14-
if [ "$WEB_BACKEND" != "php-fpm"]; then
13+
# Check if PHP-FPM is instaled
14+
if [ "$WEB_BACKEND" != "php-fpm" ]; then
1515
echo "PHP-FPM not yet installed please run migrate_apache.sh first" && exit 1
1616
fi
1717

@@ -29,7 +29,7 @@ changed_a2modules=""
2929

3030
for module in $a2modules; do
3131
a2query -q -m "$module" || continue
32-
a2dismod "$module"
32+
a2dismod -q "$module"
3333
changed_a2modules="${changed_a2modules} ${module}"
3434
done
3535

0 commit comments

Comments
 (0)