Skip to content

Commit 213b9e1

Browse files
committed
different kill
1 parent 1de815f commit 213b9e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

scripts/ws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# prevent issue https://github.com/status-im/nimbus-eth1/issues/3661
1010

1111
set -e
12-
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
12+
trap "trap - SIGTERM && pkill -P $$" SIGINT SIGTERM EXIT
1313

1414
# script arguments
1515
[[ $# -ne 1 ]] && { echo "Usage: $0 NIM_VERSION"; }

scripts/wsc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# prevent issue https://github.com/status-im/nimbus-eth1/issues/3661
1010

1111
set -e
12-
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
12+
trap "trap - SIGTERM && pkill -P $$" SIGINT SIGTERM EXIT
1313

1414
# script arguments
1515
[[ $# -ne 1 ]] && { echo "Usage: $0 NIM_VERSION"; }

scripts/wss.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# prevent issue https://github.com/status-im/nimbus-eth1/issues/3661
1010

1111
set -e
12-
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
12+
trap "trap - SIGTERM && pkill -P $$" SIGINT SIGTERM EXIT
1313

1414
# script arguments
1515
[[ $# -ne 1 ]] && { echo "Usage: $0 NIM_VERSION"; }

scripts/wssc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# prevent issue https://github.com/status-im/nimbus-eth1/issues/3661
1010

1111
set -e
12-
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
12+
trap "trap - SIGTERM && pkill -P $$" SIGINT SIGTERM EXIT
1313

1414
# script arguments
1515
[[ $# -ne 1 ]] && { echo "Usage: $0 NIM_VERSION"; }

0 commit comments

Comments
 (0)