From a8c4065dcf66b153bb614bf2b867fffe45faa781 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 7 Feb 2020 02:57:34 -0500 Subject: [PATCH] fix: use the correct variable --- plugins/nginx-vhosts/internal-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/internal-functions b/plugins/nginx-vhosts/internal-functions index d1a95bc8a..fbe7a0e6f 100755 --- a/plugins/nginx-vhosts/internal-functions +++ b/plugins/nginx-vhosts/internal-functions @@ -79,7 +79,7 @@ fn-nginx-vhosts-manage-hsts() { local HSTS_TEMPLATE="$PLUGIN_AVAILABLE_PATH/nginx-vhosts/templates/hsts.conf.sigil" if [[ "$HSTS" == "false" ]] || [[ "$SSL_ENABLED" != "true" ]]; then - rm -rf "NGINX_HSTS_CONF" + rm -rf "$NGINX_HSTS_CONF" return fi