]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/statistics.erb
Don't update statistics if generation fails
[chef.git] / cookbooks / web / templates / default / statistics.erb
index ccfe956cc3fa958a72d2b4a68604d9e0ac7088d8..4fc94857ecfd3987240454c2c57f736185aeb152 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+# Abort on error
+set -e
+
 # Make sure /usr/local/bin is on the path
 export PATH=$PATH:/usr/local/bin