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