From 1e53f17d26dd4ff2accbdbf10bae227a672e7194 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Wed, 31 May 2017 01:18:21 +0200 Subject: [PATCH] add set -e --- toLineProtocol.sh | 2 ++ 1 file changed, 2 insertions(+) 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}