Explorar el Código

Merge pull request #894 from alembiq/master

parse pop config only when file exists
pull/895/head
Luke Smith hace 1 año
committed by GitHub
padre
commit
4413cfebea
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Ver fichero

@@ -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


Cargando…
Cancelar
Guardar