diff --git a/plugins/nginx-vhosts/functions b/plugins/nginx-vhosts/functions index 263e7d663..b979b800c 100755 --- a/plugins/nginx-vhosts/functions +++ b/plugins/nginx-vhosts/functions @@ -14,7 +14,7 @@ get_nginx_location() { NGINX_LOCATION="/usr/sbin/nginx" fi - if ! [[ -x "$NGINX_LOCATION" ]]; then + if [[ ! -x "$NGINX_LOCATION" ]]; then dokku_log_fail "Could not find nginx binary in \$PATH or at '${NGINX_LOCATION}'." exit 1; fi