Fix static analysis failures

This commit is contained in:
Bob Mottram 2018-03-02 20:09:25 +00:00
parent c44d07bd2f
commit 24f38c53f3
1 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ function install_privatebin {
echo ' location / {'; } >> "$privatebin_nginx_site" echo ' location / {'; } >> "$privatebin_nginx_site"
function_check nginx_limits function_check nginx_limits
nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m'
{ echo ' try_files $uri $uri/ @privatebin;'; { echo " try_files \$uri \$uri/ @privatebin;";
echo ' }'; echo ' }';
echo ''; echo '';
echo ' # Restrict access that is unnecessary anyway'; echo ' # Restrict access that is unnecessary anyway';
@ -414,7 +414,7 @@ function install_privatebin {
echo ' location / {'; } >> "$privatebin_nginx_site" echo ' location / {'; } >> "$privatebin_nginx_site"
function_check nginx_limits function_check nginx_limits
nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m' nginx_limits "$PRIVATEBIN_DOMAIN_NAME" '15m'
{ echo ' try_files $uri $uri/ @privatebin;'; { echo " try_files \$uri \$uri/ @privatebin;";
echo ' }'; echo ' }';
echo ''; echo '';
echo ' # Restrict access that is unnecessary anyway'; echo ' # Restrict access that is unnecessary anyway';