summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-06 15:13:08 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-12 09:26:54 +0200
commit6fafca9c03163ebf9445394c2fde45d00d0ae972 (patch)
tree4ba49ea89c17c69da016577616075c9c86b52675 /bin
parent3f958dac8aa69972f61c0ec78066299685491f15 (diff)
Fail on error.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/stream.sh b/bin/stream.sh
index 3a1aedf..80518e9 100755
--- a/bin/stream.sh
+++ b/bin/stream.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
target_host=morla
if [ "$target_host" = "$(hostname --short)" ]; then
target_ip=127.0.0.1