From: Dobrica Pavlinusic Date: Sun, 17 Sep 2017 09:38:09 +0000 (+0200) Subject: make curl --silent X-Git-Url: http://git.rot13.org/?p=vaillant-thermostat;a=commitdiff_plain;h=577312aac6cb7b0300fa9d68442672b83b2a36f5 make curl --silent --- diff --git a/serial.pl b/serial.pl index 06197a0..12a2cbf 100755 --- a/serial.pl +++ b/serial.pl @@ -45,7 +45,7 @@ while (1) { my $hex = unpack('H*',$string); $hex =~ s/(..)/$1 /g; - my $temp = `curl -q localhost:3000/temp.txt`; + my $temp = `curl --silent localhost:3000/temp.txt`; $temp =~ s/\s+/ /gs; $temp =~ s/^\s+//;