Skip to content

Commit 7038bdb

Browse files
committed
fixed broken instant play (kill instead of pkil when using pid directly)
1 parent f60111f commit 7038bdb

File tree

1 file changed

+1
-1
lines changed
  • FunKey/board/funkey/rootfs-overlay/usr/local/sbin

1 file changed

+1
-1
lines changed

FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ schedule_powerdown() {
1717

1818
# Send USR1 signal to the running FunKey process to warn about
1919
# impending shutdown
20-
pkill -USR1 "$(pid print)" > /dev/null 2>&1
20+
kill -USR1 "$(pid print)" > /dev/null 2>&1
2121

2222
# Delay for the given grace period seconds to catch signal USR2.
2323
# If the signal is caught, then it means the running FunKey

0 commit comments

Comments
 (0)