summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-03-18 16:43:09 -0700
committerLuke Smith <luke@lukesmith.xyz>2018-03-18 16:43:09 -0700
commit7f5d077b72166b7fec7f5c0880c246daeae4b672 (patch)
tree31b326d9b1601165b0085ecb4e81ebf1856a4698 /etc
parent920ee096266343e65de7e4d45aae68f6f352421e (diff)
mailsync script gives args to offlineimap
Diffstat (limited to 'etc')
-rwxr-xr-xetc/mailsync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/mailsync.sh b/etc/mailsync.sh
index 4810ce7..3c9bda9 100755
--- a/etc/mailsync.sh
+++ b/etc/mailsync.sh
@@ -17,7 +17,7 @@ fi
# Get current number of new mail, then begin sync.
ori=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)
-offlineimap -o
+offlineimap -o "$@"
# Recount new mail.
new=$(find ~/.mail -wholename '*/new/*' | grep -vi "spam\|trash\|junk" | wc -l)