summaryrefslogtreecommitdiff
path: root/mw
diff options
context:
space:
mode:
Diffstat (limited to 'mw')
-rwxr-xr-xmw2
1 files changed, 1 insertions, 1 deletions
diff --git a/mw b/mw
index 32cb6fc..8a42743 100755
--- a/mw
+++ b/mw
@@ -174,7 +174,7 @@ EOF
echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir/personal.muttrc"
! grep "^source.*.muttrc" "$muttdir/personal.muttrc" >/dev/null && echo "source $accdir/$title.muttrc" >> "$muttdir/personal.muttrc"
trysync && finalize
- [ "$accounttype" = "offline" ] && sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc"
+ [ "$accounttype" = "offline" ] || sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc"
}
getpass() { \