Fix confitional grep option

This commit is contained in:
Luis Guzmán 2020-06-03 06:13:06 -05:00
parent ab9e30ca1c
commit a095035271
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..."