From 7f07cae7350226163eb57c78e3c5a14b59b4ce1c Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 3 Mar 2014 15:13:42 +0530 Subject: [PATCH] Redirect nginx -t errors --- usr/local/sbin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index a14ecca7..47f0b0ab 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -846,7 +846,7 @@ EESITEINFO() NGINXBUCKETSIZE() { - nginx -t 2>&1 | grep server_names_hash_bucket_size + nginx -t 2>&1 | grep server_names_hash_bucket_size &>> $INSTALLLOG if [ $? -eq 0 ] then NGINXCALCULATION=$(echo "l($(ls /etc/nginx/sites-enabled/ | wc -c))/l(2)+2" | bc -l)