fix indentation and wp-cli path

This commit is contained in:
VirtuBox
2019-03-04 07:12:57 +01:00
parent 188b91df74
commit 34401eefe6
5 changed files with 51 additions and 52 deletions

View File

@@ -588,7 +588,7 @@ function 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