fix indentation and wp-cli path

This commit is contained in:
VirtuBox
2019-03-04 07:12:57 +01:00
parent 853bf76f37
commit 53be5bad2d
4 changed files with 50 additions and 51 deletions

View File

@@ -597,7 +597,7 @@ wo_update_latest()
# Fix for 3.3.2 renamed nginx.conf
nginx -V 2>&1 &>>/dev/null
nginx -V &>>/dev/null 2>&1
if [[ $? -eq 0 ]]; then
nginx -t 2>&1 | grep 'open() "/etc/nginx/nginx.conf" failed' &>>/dev/null
if [[ $? -eq 0 ]]; then