add set -e

This commit is contained in:
Thomas Ruoff
2017-05-31 01:18:21 +02:00
parent f3375002bd
commit 1e53f17d26

View File

@@ -36,6 +36,8 @@
# - using "date" to parse the UTC date for each line is super slow, but # - using "date" to parse the UTC date for each line is super slow, but
# works. There must be something better out there. # works. There must be something better out there.
set -e
SRC_FILE=${1:-/dev/stdin} SRC_FILE=${1:-/dev/stdin}
DATABASE=${INFLUXDB_DATABASE:-feinstaub} DATABASE=${INFLUXDB_DATABASE:-feinstaub}