summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-07-01 10:00:34 -0400
committerLuke Smith <Luke Smith>2022-07-01 10:00:34 -0400
commitcaf2681891eb3fbe04bd10ba30369ffe8e8616d4 (patch)
tree52373c46f688acad6fba25179e01132be08be891 /bin
parent9db5d1b4fc2bdc3d541016b7750f64eaa2afac51 (diff)
remove bashism
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync2
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