diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 47f0b0ab..a862ce66 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -850,7 +850,7 @@ NGINXBUCKETSIZE() if [ $? -eq 0 ] then NGINXCALCULATION=$(echo "l($(ls /etc/nginx/sites-enabled/ | wc -c))/l(2)+2" | bc -l) - NGINXSETBUCKET=$(echo "2^$NGINXCALCULATION" | bc -l) + NGINXSETBUCKET=$(echo "2^$NGINXCALCULATION" | bc -l 2> /dev/null) sed -i "s/.*server_names_hash_bucket_size.*/\tserver_names_hash_bucket_size $NGINXSETBUCKET;/" /etc/nginx/nginx.conf fi }