* fix for using busybox's mktemp

merge-requests/2/head
Dominika Liberda 2021-08-18 11:31:17 +00:00
parent 2639361804
commit 7846f5a271
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ if [[ ${cfg[socat_only]} == true ]]; then
else
if [[ ${cfg[http]} == true ]]; then
# this is a workaround because ncat kept messing up large (<150KB) files over HTTP - but not over HTTPS!
socket=$(mktemp -u /tmp/XXXX.socket)
socket=$(mktemp -u /tmp/socket.XXXXXX)
if [[ ${cfg[dbg]} == true ]]; then
ncat -l -U "$socket" -c src/server.sh -k &
else