fix: typo in setup-stack.sh (#2521)

This commit is contained in:
Ikko Ashimine 2022-04-02 17:41:46 +09:00 committed by GitHub
parent 04e452a1ee
commit 05f680b472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -654,7 +654,7 @@ function _setup_dkim
[[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable [[ ! -f /etc/opendkim/KeyTable ]] && touch /etc/opendkim/KeyTable
fi fi
# setup nameservers paramater from /etc/resolv.conf if not defined # setup nameservers parameter from /etc/resolv.conf if not defined
if ! grep '^Nameservers' /etc/opendkim.conf if ! grep '^Nameservers' /etc/opendkim.conf
then then
echo "Nameservers $(grep '^nameserver' /etc/resolv.conf | awk -F " " '{print $2}' | paste -sd ',' -)" >>/etc/opendkim.conf echo "Nameservers $(grep '^nameserver' /etc/resolv.conf | awk -F " " '{print $2}' | paste -sd ',' -)" >>/etc/opendkim.conf