diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-04-14 16:06:22 -0700 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2018-04-14 16:06:22 -0700 |
commit | 139f518e8236c49d0d49aa8fd6104e21240ddda1 (patch) | |
tree | 6f491ae99df0d33d302afc900758fb181345b5c7 | |
parent | 93dfd9c2e18c63ef849b8275236497b8ba907027 (diff) | |
parent | 7cacadd4475978a168c3740ce785742571cc1011 (diff) |
Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard
-rwxr-xr-x | mutt-wizard.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh index b28ad1c..7be5ce0 100755 --- a/mutt-wizard.sh +++ b/mutt-wizard.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [[ "$(uname)" == "Darwin" ]] then @@ -257,5 +257,6 @@ $(grep ~/.offlineimaprc -e "^accounts =" | sed 's/accounts =//g') 5) inventory && for i in $userchoices; do removeAccount $i ; done;; 6) (dialog --defaultno --title "Wipe all custom neomutt/offlineIMAP settings?" --yesno "Would you like to wipe all of the mutt/offlineIMAP settings generated by the system?" 6 60 && wipe) ;; 7) clear && break ;; +*) echo "Unable to read response from dialog. Exiting." >&2; exit 2 esac done |