From a095035271ad1f655561ca8561cad7e9245154a7 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 3 Jun 2020 06:13:06 -0500 Subject: [PATCH] Fix confitional grep option --- jigasi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jigasi.sh b/jigasi.sh index d201cb2..e6d0c1d 100644 --- a/jigasi.sh +++ b/jigasi.sh @@ -209,7 +209,7 @@ sed -i "/xmpp.acc.ANONYMOUS_AUTH/ s|# ||" $JIG_SIP_PROP prosodyctl register transcript auth.$DOMAIN jigasi #Temp fix Jigasi Transcript -if [ grep -x "sleep" /etc/init.d/jicofo ]; then +if grep -q "sleep" /etc/init.d/jicofo; then echo "Jicofo delay already present." else echo "Adding Jicofo delay..."