diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-10-28 10:24:14 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-10-28 10:24:14 -0400 |
commit | 12664a3f596b347b98ad33e5ff911f8396d5dedc (patch) | |
tree | 70dc9290aada0e19a178fd09f63406833e5c0ee6 /bin | |
parent | a978f36ec2a4309ed545009552797ef52e14b2d6 (diff) |
error code on failure
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mw | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -330,12 +330,13 @@ Main actions: -Y Sync mail for all accounts Options allowed with -a: - -u Account login name if not full address. - -n "Real name" to be on the email account. + -u Account login name if not full address + -n "Real name" to be on the email account -i IMAP server address -I IMAP server port -s SMTP server address -S SMTP server port + -x Password for account (recommended to be in double quotes) -p Install for a Protonmail account. -o Configure address, but keep mail online. -b Assume typical English mailboxes without attempting log-on. @@ -353,7 +354,7 @@ esac done case "$action" in list) list ;; - add) askinfo && getprofiles && writeinfo && getboxes && finalize || delete ;; + add) askinfo && getprofiles && writeinfo && getboxes && finalize || { delete ; exit 1 ;} ;; delete) delete $fulladdr ;; sync) syncwrapper $fulladdr ;; esac |