Browse Source

remove bashism

pull/858/head
Luke Smith 2 years ago
parent
commit
caf2681891
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync View File

@@ -76,7 +76,7 @@ if [ "$#" -gt "0" ]; then
done
accounts=$*
fi
[[ ! $accounts ]] && accounts="$(awk '/^Channel/ {print $2}' "$MBSYNCRC")"
[ -z "$accounts" ] && accounts="$(awk '/^Channel/ {print $2}' "$MBSYNCRC")"

# Parallelize multiple accounts
for account in $accounts; do


Loading…
Cancel
Save