Remove redundant print

This commit is contained in:
Jonas Kalderstam 2016-01-16 00:54:51 +01:00
parent a6fbef9835
commit a14f4879aa

View file

@ -25,10 +25,7 @@ if [ -f /tmp/postfix/accounts.cf ]; then
echo "${pass}" | userdbpw -md5 | userdb ${login} set systempw
echo "${pass}" | saslpasswd2 -p -c -u ${domain} ${login}
mkdir -p /var/mail/${domain}
if [ -d "/var/mail/${domain}/${user}" ]; then
# Directory already present
echo "Directory present"
else
if [ ! -d "/var/mail/${domain}/${user}" ]; then
maildirmake "/var/mail/${domain}/${user}"
fi
echo ${domain} >> /tmp/vhost.tmp