mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-18 14:17:12 -04:00
Fix grep flag
This commit is contained in:
parent
a3409267f4
commit
5cbc5e6f7f
@ -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 -nc "$ConfiguredComment" /etc/ssmtp.conf && {
|
grep -qc "$ConfiguredComment" /etc/ssmtp.conf && {
|
||||||
echo "smtp configured."
|
echo "smtp configured."
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user