From 40b18decc2373b3f708d2e351f32698bb2ec877e Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 12 Dec 2020 17:32:30 +0000 Subject: [PATCH] make curl --silent --- influx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influx.sh b/influx.sh index ce6f761..2f6b46b 100755 --- a/influx.sh +++ b/influx.sh @@ -3,5 +3,5 @@ stty -F /dev/ttyUSB0 ispeed 115200 cs8 -cstopb -parenb -echo igncr cat /dev/ttyUSB0 | while read line ; do - curl -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line" + curl --silent -XPOST "http://10.13.37.92:8086/write?consistency=any&db=rot13" --data-binary "grove,dc=trnjanska,host=$(hostname -s) $line" done -- 2.20.1