瀏覽代碼

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 Key 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


Loading…
取消
儲存