From: Tom Hughes Date: Wed, 18 Jul 2018 17:36:07 +0000 (+0100) Subject: Disable warnings from the daiy statistics script X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/0559aa7bdc5548f7a90b8585a6fea369e2f358ac Disable warnings from the daiy statistics script --- diff --git a/cookbooks/web/templates/default/statistics.erb b/cookbooks/web/templates/default/statistics.erb index 4fc94857e..a42357ba8 100644 --- a/cookbooks/web/templates/default/statistics.erb +++ b/cookbooks/web/templates/default/statistics.erb @@ -7,7 +7,7 @@ set -e export PATH=$PATH:/usr/local/bin # Generate new statistics -<%= @ruby %> <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html +<%= @ruby %> -W0 <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html # Move new statistics into place mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats