Browse Source

since logons check before, delete not nec w/ error

tags/v3.3
Luke Smith 3 years ago
parent
commit
7413dc6d5a
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/mw

+ 2
- 2
bin/mw View File

@@ -153,7 +153,7 @@ EOF
} }


delete() { if [ -z "${fulladdr+x}" ]; then delete() { if [ -z "${fulladdr+x}" ]; then
echo "Select the account your would like to delete (by number):"
echo "Select the account you would like to delete (by number):"
list || exit 1 list || exit 1
read -r input read -r input
match="^$input:" match="^$input:"
@@ -357,7 +357,7 @@ esac done


case "$action" in case "$action" in
list) list ;; list) list ;;
add) checkbasics && askinfo && getboxes && getprofiles && finalize || { delete ; exit 1 ;} ;;
add) checkbasics && askinfo && getboxes && getprofiles && finalize ;;
delete) delete ;; delete) delete ;;
sync) mailsync $fulladdr ;; sync) mailsync $fulladdr ;;
toggle) togglecron ;; toggle) togglecron ;;


Loading…
Cancel
Save