Unverified Commit 09f9dd1e authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Kill netcat on exit

parent 7d54647d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -eu

trap 'kill 0' EXIT
trap exit SIGINT SIGTERM

# Serve the page