exit on errors

This commit is contained in:
probonopd authored and GitHub committed 2021-07-24 12:00:55 +02:00
1 parent 1edf32f363
commit 082fab0da3
1 file changed
+3
+3
View File
@@ -3,6 +3,9 @@
# verbose output
set -v
# exit on errors
set -e
URL=$(cat $1 | head -n 1)
echo $URL