diff options
author | Luke Smith <Luke Smith> | 2022-07-01 10:00:34 -0400 |
---|---|---|
committer | Luke Smith <Luke Smith> | 2022-07-01 10:00:34 -0400 |
commit | caf2681891eb3fbe04bd10ba30369ffe8e8616d4 (patch) | |
tree | 52373c46f688acad6fba25179e01132be08be891 /bin | |
parent | 9db5d1b4fc2bdc3d541016b7750f64eaa2afac51 (diff) |
remove bashism
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mailsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mailsync b/bin/mailsync index 6aba835..f100cd0 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -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 |