From 24f38c53f3c67f24c1f10a990771419bc6b51832 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 20:09:25 +0000 Subject: [PATCH] Fix static analysis failures --- src/freedombone-app-privatebin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-privatebin b/src/freedombone-app-privatebin index 0667cd84..49a78a0e 100755 --- a/src/freedombone-app-privatebin +++ b/src/freedombone-app-privatebin @@ -374,7 +374,7 @@ function install_privatebin { echo ' location / {'; } >> "$privatebin_nginx_site" function_check nginx_limits nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' - { echo ' try_files $uri $uri/ @privatebin;'; + { echo " try_files \$uri \$uri/ @privatebin;"; echo ' }'; echo ''; echo ' # Restrict access that is unnecessary anyway'; @@ -414,7 +414,7 @@ function install_privatebin { echo ' location / {'; } >> "$privatebin_nginx_site" function_check nginx_limits nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' - { echo ' try_files $uri $uri/ @privatebin;'; + { echo " try_files \$uri \$uri/ @privatebin;"; echo ' }'; echo ''; echo ' # Restrict access that is unnecessary anyway';