瀏覽代碼

fix: mailsync looks no '-q' parameter or made it fail

// solution: remove '-q'

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
pull/908/head
shane.xb.qian 1 年之前
父節點
當前提交
6abab8f906
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bin/mw

+ 1
- 1
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" ;}



Loading…
取消
儲存