projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3cf43a
)
Don't update statistics if generation fails
author
Tom Hughes
<tom@compton.nu>
Wed, 7 Sep 2016 22:09:50 +0000
(23:09 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 7 Sep 2016 22:11:46 +0000
(23:11 +0100)
cookbooks/web/templates/default/statistics.erb
patch
|
blob
|
history
diff --git
a/cookbooks/web/templates/default/statistics.erb
b/cookbooks/web/templates/default/statistics.erb
index ccfe956cc3fa958a72d2b4a68604d9e0ac7088d8..4fc94857ecfd3987240454c2c57f736185aeb152 100644
(file)
--- a/
cookbooks/web/templates/default/statistics.erb
+++ b/
cookbooks/web/templates/default/statistics.erb
@@
-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