aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-12-31 12:01:59 +0100
committerdec05eba <dec05eba@protonmail.com>2018-12-31 12:02:02 +0100
commitfe4199dace73ee38262528f7ae88cbfba99120dd (patch)
tree154d3b6f09ee158d31a3dc29379bc906647629fc /run.sh
parent3a5f81426395f1468e6d88e98da984a3fc2c2e78 (diff)
Make thread-safe
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/run.sh b/run.sh
index 3fca183..c66d369 100755
--- a/run.sh
+++ b/run.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+set -e
+
script_path=`readlink -f $0`
script_dir=`dirname $script_path`
cd "$script_dir"