Sfoglia il codice sorgente

since logons check before, delete not nec w/ error

tags/v3.3
Luke Smith 3 anni fa
parent
commit
7413dc6d5a
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4C50B54A911F6252
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      bin/mw

+ 2
- 2
bin/mw Vedi 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 ;;


Caricamento…
Annulla
Salva