Avoid error if opencode isn't running. (#4566)
This commit is contained in:
1 parent
e4913ca2db
commit
f2f306269a
1 file changed
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user