mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-09 01:47:32 +08:00
Wait in background
This commit is contained in:
parent
a0e9e2f3c0
commit
68b0e3b9b6
@ -11,5 +11,5 @@ LENGTH="${#HTML}"
|
||||
RESPONSE="HTTP/1.1 200 OK\nContent-Length: ${LENGTH}\nConnection: close\n\n$HTML\n\n"
|
||||
|
||||
while true; do
|
||||
echo -en "$RESPONSE" | nc -lp "${1:-5000}";
|
||||
echo -en "$RESPONSE" | nc -lp "${1:-5000}" & wait $!
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user