remove unnecessary eab retrieval

also suppress error when no proxy confs are activated
This commit is contained in:
aptalca
2020-12-20 16:55:11 -05:00
parent 21e9d7298a
commit 832dde3b35
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ if [ -n "$nginx_confs_changed" ]; then
echo -e "${nginx_confs_changed}"
fi
proxy_confs=$(ls /config/nginx/proxy-confs/*.conf)
proxy_confs=$(ls /config/nginx/proxy-confs/*.conf 2>/dev/null)
for i in $proxy_confs; do
if [ -f "${i}.sample" ]; then