diff --git a/update_ssmtp.sh b/update_ssmtp.sh index 28ea885..af2b44f 100644 --- a/update_ssmtp.sh +++ b/update_ssmtp.sh @@ -1,6 +1,6 @@ #!/bin/bash ConfiguredComment='# install script update_ssmtp.sh has configured ssmtp' -grep -nc "$ConfiguredComment" /etc/ssmtp.conf && { +grep -qc "$ConfiguredComment" /etc/ssmtp.conf && { echo "smtp configured." exit }