浏览代码

fix(mailsync): delimit notification text from flags

Fixes text being interpreted as flags when it starts with a dash.
Try sending yourself a letter with subject starting with '-'.
E.g. if subject is '-10%' fixes error:
> Unknown option -10%
pull/1003/head
Yaroslav Chvanov 3 个月前
父节点
当前提交
824feedc68
找不到此签名对应的密钥 GPG 密钥 ID: CCF75EB2BBF8F69C
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync 查看文件

@@ -45,7 +45,7 @@ case "$(uname)" in

notify() { [ -n "$pgrepoutput" ] && for x in ${displays:-:0}; do
export DISPLAY="$x"
notify-send --app-name="mutt-wizard" "$1" "$2"
notify-send --app-name="mutt-wizard" -- "$1" "$2"
done ;}
;;
esac


正在加载...
取消
保存