Skip to content

Commit 18030c3

Browse files
committed
fix killall background on local network exit
1 parent ffb9ef5 commit 18030c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mina-local-network/mina-local-network.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44
# Exit script when commands fail
55
set -e
66
# Kill background process when script exits
7-
trap "killall background" EXIT
7+
trap "jobs -p | xargs kill" EXIT
88

99
# ================================================
1010
# Constants

0 commit comments

Comments
 (0)