Doctor: silence best-effort notification in headless runs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
2026-08-24 18:56:09 -04:00
co-authored by Claude Fable 5
parent dd3b893137
commit 386bf49758
+1 -1
View File
@@ -64,7 +64,7 @@ check_mirror() {
echo "INFO mirror: re-applying china profile (auto-failover)" echo "INFO mirror: re-applying china profile (auto-failover)"
if omarchy-cn-mirror-apply china; then if omarchy-cn-mirror-apply china; then
failures=$((failures - 1)) failures=$((failures - 1))
omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" || true omarchy-notification-send "OmarchyCN" "pacman 镜像已自动切换" 2> /dev/null || true
fi fi
fi fi
} }