mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-09 09:57:32 +08:00
Kill netcat on exit
This commit is contained in:
parent
68b0e3b9b6
commit
0782c5c57f
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
trap 'kill 0' EXIT
|
||||||
trap exit SIGINT SIGTERM
|
trap exit SIGINT SIGTERM
|
||||||
|
|
||||||
# Serve the page
|
# Serve the page
|
||||||
|
Loading…
x
Reference in New Issue
Block a user