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

This commit is contained in:
Serpent
2026-02-09 22:58:34 +01:00
committed by GitHub
parent e4913ca2db
commit f2f306269a
+3 -1
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