Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
add -ex to #! to echo lines and abort if anything errors
Browse files Browse the repository at this point in the history
when I ran sudo ./install, something erred, but it got buried under the output from rest of the script.
-e will abort on error
-x will echo the lines of the script so we can see what line errored.
  • Loading branch information
CarlFK committed Dec 27, 2013
1 parent d1e2f20 commit 411439f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -ex
# Graphite installation script for Ubuntu 13.10 x64
# Jason Dixon <[email protected]>

Expand Down

0 comments on commit 411439f

Please sign in to comment.