summaryrefslogtreecommitdiff
path: root/mutt-wizard.sh
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-13 22:22:27 -0700
committerLuke <luke@lukesmith.xyz>2018-02-13 22:22:27 -0700
commit7b3b263f20461b3c728ee7fb60157a1fd75b698d (patch)
tree6b46af9f8a29a30ebb4bf2c7b7e2faf1135ba10d /mutt-wizard.sh
parent5cb61f78d6d89b1981be74604cb02b4cede911e4 (diff)
closes on canceling main menu
Diffstat (limited to 'mutt-wizard.sh')
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
index d92e3f1..6afecc6 100755
--- a/mutt-wizard.sh
+++ b/mutt-wizard.sh
@@ -186,7 +186,7 @@ choice=$(dialog --title "Luke's mutt/offlineIMAP wizard" \
4 "Remove an email account." \
5 "Remove all email accounts." \
6 "Exit this wizard." \
- 3>&1 1>&2 2>&3 3>&1 )
+ 3>&1 1>&2 2>&3 3>&1 ) || clear && exit
case $choice in
0) dialog --title "Accounts detected" --msgbox "The following accounts have been detected: