Fix confitional grep option

(cherry picked from commit a095035271)
This commit is contained in:
Luis Guzmán 2020-06-03 06:13:06 -05:00
parent 5a183ddadb
commit 0eb1bbfa1b
1 changed files with 1 additions and 1 deletions

View File

@ -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..."