Browse Source

fix

tags/v3.1
Luke Smith 4 years ago
parent
commit
78030885b4
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

@@ -229,8 +229,8 @@ Junk
Trash Trash
Sent Sent
Archive" && return 0 Archive" && return 0
info="$(curl -s --user "$login:$(pass $pass_prefix$fulladdr)" --url "${protocol:-imaps}://$imap")" ||
{ echo "Log-on not successful." ; exit 1 ;}
info="$(curl -s --user "$login:$(pass $pass_prefix$fulladdr)" --url "${protocol:-imaps}://$imap")"
[ -z "$info" ] && echo "Log-on not successful." && return 1
mailboxes="$(echo "$info" | sed "s/.*\" //" | tr -d ' ')" mailboxes="$(echo "$info" | sed "s/.*\" //" | tr -d ' ')"
} }




Loading…
Cancel
Save