From 4f17392bf1188ba4ed79335c3a65e364782ee7e6 Mon Sep 17 00:00:00 2001 From: Manuel Colmenero Date: Tue, 19 Sep 2017 08:27:21 +0200 Subject: [PATCH] fix: Move operator inside the brackets --- plugins/nginx-vhosts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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