Skip to content

Commit 58a73ff

Browse files
authored
fix command not found
1 parent fffcafb commit 58a73ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ ask_yes_or_no() {
170170

171171
restart_webserver() {
172172
check_command systemctl restart nginx
173-
if php"$PHPVER"-fpm -v > /dev/null
173+
if is_this_installed php"$PHPVER"-fpm
174174
then
175175
check_command systemctl restart php"$PHPVER"-fpm.service
176176
fi

0 commit comments

Comments
 (0)