Pārlūkot izejas kodu

Merge pull request #894 from alembiq/master

parse pop config only when file exists
pull/895/head
Luke Smith pirms 2 gadiem
committed by GitHub
vecāks
revīzija
4413cfebea
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Parādīt failu

@@ -79,7 +79,7 @@ if [ "$#" -gt "0" ]; then
fi
# TODO handle account passed from argument
[ -z "$accounts" ] && accounts="$(awk '/^Channel/ {print $2}' "$MBSYNCRC" 2>/dev/null)"
[ -z "$pop_accounts" ] && pop_accounts="$(awk '/^account/ {print $2}' "$MPOPRC" 2>/dev/null)"
[ -z "$pop_accounts" ] && [ -x $MPOPRC ] && pop_accounts="$(awk '/^account/ {print $2}' "$MPOPRC" 2>/dev/null)"

# Parallelize multiple accounts
for account in $accounts; do


Notiek ielāde…
Atcelt
Saglabāt