From 7846f5a2714082861c36ab5ed85a51b640e07d5c Mon Sep 17 00:00:00 2001 From: Dominika Liberda Date: Wed, 18 Aug 2021 11:31:17 +0000 Subject: [PATCH] * fix for using busybox's mktemp --- http.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.sh b/http.sh index b60282f..5ba36d4 100755 --- a/http.sh +++ b/http.sh @@ -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