gamelog now writes the correct log file

This commit is contained in:
sose 2021-06-14 01:00:08 +00:00
parent 99a22376b9
commit 59ca629792
1 changed files with 2 additions and 2 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 -vlkp $PORT >> $LOG 2>&1
nc -w1 -W1 -nvlkp $PORT >> $LOG 2>&1