From 577312aac6cb7b0300fa9d68442672b83b2a36f5 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 17 Sep 2017 11:38:09 +0200 Subject: [PATCH] make curl --silent --- serial.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+//; -- 2.20.1