diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-01-06 21:38:25 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2021-01-06 21:38:25 -0500 |
commit | 16de5dc350d06cd45338271a2286c0629ef20435 (patch) | |
tree | 8e15a3c7a8029e9414f158e0ff3ab1f77e9791db /bin | |
parent | f83c45689b21fccb917fdb4c555280eaf19ef78f (diff) |
don't ask realname if not given; assume userid
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mw | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -180,8 +180,7 @@ askinfo() { \ [ -z "$smtp" ] && echo "Give your email server's SMTP address (excluding the port number):" && read -r smtp [ "$sport" = 465 ] && tlsline="tls_starttls off" - [ -z "$realname" ] && echo "Give the name you would like to be identified by on the email account:" && - read -r realname + [ -z "$realname" ] && realname="${fulladdr%%@*}" login="${login:-$fulladdr}" if [ -n "${password+x}" ]; then createpass |