This commit is contained in:
sose 2021-06-14 01:06:23 +00:00
parent 6a49e2ee33
commit 7c67349ccf
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
PORT="$1"
LOG="../log.txt"
LOG="log.txt"
[ -z "$1" ] && echo "port?" && exit
echo "log server listening on $PORT" >> $LOG
nc -w1 -W1 -nvlkp $PORT >> $LOG 2>&1