Fix ssmtp update script

This commit is contained in:
John Locke 2017-03-14 13:41:59 -07:00
parent 326790de44
commit 8afea54d65

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
ConfiguredComment='# install script update_ssmtp.sh has configured ssmtp' ConfiguredComment='# install script update_ssmtp.sh has configured ssmtp'
grep -qc "$ConfiguredComment" /etc/ssmtp.conf && { grep -qc "$ConfiguredComment" /etc/ssmtp/ssmtp.conf && {
echo "smtp configured." echo "smtp configured."
exit exit
} }