From 386bf49758302f151b51b8c3d9afb7aae344fa9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 24 Aug 2026 18:56:09 -0400 Subject: [PATCH] Doctor: silence best-effort notification in headless runs Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp --- bin/omarchy-cn-doctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-cn-doctor b/bin/omarchy-cn-doctor index b5f8df5f..fae37ae0 100755 --- a/bin/omarchy-cn-doctor +++ b/bin/omarchy-cn-doctor @@ -64,7 +64,7 @@ check_mirror() { echo "INFO mirror: re-applying china profile (auto-failover)" if omarchy-cn-mirror-apply china; then failures=$((failures - 1)) - omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" || true + omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" 2> /dev/null || true fi fi }