From 0422023a177ac2f4a673820e1ce6d6c00b5f4846 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 4 Sep 2015 18:35:16 +0200 Subject: [PATCH] fix for GNU mktemp --- minissdpd/testminissdpd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minissdpd/testminissdpd.sh b/minissdpd/testminissdpd.sh index 1b3df6b..94f6328 100755 --- a/minissdpd/testminissdpd.sh +++ b/minissdpd/testminissdpd.sh @@ -7,7 +7,7 @@ IF=lo if [ "$OS" = "Darwin" ] ; then IF=lo0 fi -SOCKET=`mktemp -t minissdpdsocket` +SOCKET=`mktemp -t minissdpdsocketXXXXXX` PID="${SOCKET}.pid" ./minissdpd -s $SOCKET -p $PID -i $IF || exit 1 ./testminissdpd -s $SOCKET || exit 2