Avoid error if opencode isn't running. (#4566)

This commit is contained in:
Serpent
2026-02-09 21:58:34 +00:00
committed by GitHub
parent e4913ca2db
commit f2f306269a

View File

@@ -2,4 +2,6 @@
# Reload opencode configuration (used by the Omarchy theme switching).
killall -SIGUSR2 opencode
if pgrep -x opencode >/dev/null; then
killall -SIGUSR2 opencode
fi