* fix for using busybox's mktemp
parent
2639361804
commit
7846f5a271
2
http.sh
2
http.sh
|
@ -179,7 +179,7 @@ if [[ ${cfg[socat_only]} == true ]]; then
|
||||||
else
|
else
|
||||||
if [[ ${cfg[http]} == true ]]; then
|
if [[ ${cfg[http]} == true ]]; then
|
||||||
# this is a workaround because ncat kept messing up large (<150KB) files over HTTP - but not over HTTPS!
|
# 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
|
if [[ ${cfg[dbg]} == true ]]; then
|
||||||
ncat -l -U "$socket" -c src/server.sh -k &
|
ncat -l -U "$socket" -c src/server.sh -k &
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue