Complain about malformed email addresses

This commit is contained in:
Bob Mottram 2017-07-30 12:52:43 +01:00
parent 006d355377
commit 496667d47d
1 changed files with 4 additions and 0 deletions

View File

@ -390,6 +390,10 @@ function keyserver_sync {
echo "$other_keyserver_email" >> /etc/sks/mailsync
chown -Rc debian-sks: /etc/sks/mailsync
fi
else
dialog --title $"Sync with other keyserver" \
--msgbox $"Email doesn't look right: $other_keyserver_email" 6 60
return
fi
fi
fi