Commit 0782c5c5 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Kill netcat on exit

parent 68b0e3b9
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