summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshane.xb.qian <shane.qian@foxmail.com>2023-02-14 20:16:13 +0800
committershane.xb.qian <shane.qian@foxmail.com>2023-02-14 20:17:45 +0800
commit6abab8f906b623e4a9fd7ba33fe44630a15d2c51 (patch)
tree2640e4fa5afa71202a73ee04e3ec8bbcbcc7dac1
parent5c8b52fe3888a656bedeb19611adcffc9e472424 (diff)
fix: mailsync looks no '-q' parameter or made it fail
// solution: remove '-q' Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
-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" ;}