summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-02-14 13:40:35 +0000
committerGitHub <noreply@github.com>2023-02-14 13:40:35 +0000
commit17bb517c391282aa7a384cd713e47ce004680b59 (patch)
tree0891cd5c7d61c2e0c07a869ec97b4d3386ccd46f /bin
parent663327c732328c1c8b50b84720f3449765cf81bc (diff)
parent6abab8f906b623e4a9fd7ba33fe44630a15d2c51 (diff)
Merge pull request #908 from Shane-XB-Qian/pr_remove_cron_q
fix: mailsync looks no '-q' parameter or made it fail
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 1a0cc2d..44a6566 100755
--- a/bin/mw
+++ b/bin/mw
@@ -217,7 +217,7 @@ togglecron() { cron="$(mktemp)"
sed -ibu /mailsync/d "$cron"; rm -f "$cron"bu
else
echo "Adding automatic mailsync every ${cronmin:-10} minutes..."
- echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync -q" >> "$cron"
+ echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync" >> "$cron"
fi &&
crontab "$cron"; rm -f "$cron" ;}