From b306a9b68a41a9e74867c247546b4685dbd6f430 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 22 Jul 2024 17:13:13 -0400 Subject: [PATCH] Update command fix grep --- command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command b/command index 06662c4f..599d800f 100755 --- a/command +++ b/command @@ -64,7 +64,7 @@ else # echo "Trying RTL-FM" timeout 1 rtl_test &> out.txt - if [ $(grep "No supported" out.txt) ] ; then + if [[ $(grep "No supported" out.txt) ]] ; then echo "No RTL-SDR detected. Command and control is OFF" # sleep 60