From bd26b1b42dbf445b4d2e670a00b35f5a93684d64 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Thu, 8 Mar 2018 03:09:25 +0100 Subject: [PATCH] raspi_temp: improve quoting --- plugins/raspberry-pi/raspi_temp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/raspberry-pi/raspi_temp b/plugins/raspberry-pi/raspi_temp index 733271b7..55f85e45 100755 --- a/plugins/raspberry-pi/raspi_temp +++ b/plugins/raspberry-pi/raspi_temp @@ -48,4 +48,4 @@ EOM exit 0;; esac -echo "temp.value `vcgencmd measure_temp | sed -n "s/temp=\(.*\)'C/\1/p"`" +echo "temp.value $(vcgencmd measure_temp | sed -n "s/temp=\(.*\)\'C/\1/p")"