Skip to content

Commit

Permalink
fix #615
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSmithxyz committed Jan 8, 2021
1 parent 913c877 commit d7fd475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mw
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Sent
Archive" && return 0
info="$(curl --location-trusted -s -m 5 --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/.*\" //;s/\"//g" | tr -d '')"
}

finalize() { echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$fulladdr/{}/cur" "$maildir/$fulladdr/{}/tmp" "$maildir/$fulladdr/{}/new"
Expand Down

0 comments on commit d7fd475

Please sign in to comment.