X-Git-Url: https://git.madduck.net/etc/offlineimap.git/blobdiff_plain/4babcfff0c3609f7641f6d47976ba0b7910ab30f..aba6a57babfeb2132599974339c140e168097287:/.bin/offlineimap?ds=inline diff --git a/.bin/offlineimap b/.bin/offlineimap index 6ee4f0b..9d68f91 100755 --- a/.bin/offlineimap +++ b/.bin/offlineimap @@ -53,6 +53,11 @@ for account in $accounts; do continue } + [ -d $VAR/$account ] || { + err "E: $VAR/$account does not exist, please create it first." + continue + } + eval /usr/bin/offlineimap -a $account -k metadata=$VAR/$account $opts || \ failures=$(($failures + 1))