Skip to content

Commit

Permalink
fix: kill current pid instead of 0
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Dec 18, 2024
1 parent ac9e2bf commit 9ee5643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ open_browser_tabs() {
}

cleanup() {
kill 0
kill $$
}

trap cleanup EXIT # Handles script exit and Ctrl-C
Expand Down

0 comments on commit 9ee5643

Please sign in to comment.