mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-15 23:00:48 +08:00
Kill netcat on exit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user