aboutsummaryrefslogtreecommitdiffstats
path: root/monitor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.sh')
-rwxr-xr-xmonitor.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor.sh b/monitor.sh
index a89d64e..685e66e 100755
--- a/monitor.sh
+++ b/monitor.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env sh
+set -exo pipefail
+
if [ -z ${HOOK_SCRIPT+x} ]; then
echo "Missing HOOK_SCRIPT environment variable, set it to the script to run upon file changes";
exit 1;