mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-11 19:27:11 -04:00
Fix grep flag
This commit is contained in:
parent
a3409267f4
commit
5cbc5e6f7f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user