commit 6abab8f906b623e4a9fd7ba33fe44630a15d2c51
parent 5c8b52fe3888a656bedeb19611adcffc9e472424
Author: shane.xb.qian <shane.qian@foxmail.com>
Date: Tue, 14 Feb 2023 20:16:13 +0800
fix: mailsync looks no '-q' parameter or made it fail
// solution: remove '-q'
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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" ;}