From 4b573dd833578ad5b868c0c7283756dba9ad78ff Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 26 Jan 2020 01:24:11 +0100 Subject: [PATCH] Suppress displaying an error in maketempf() --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 94c1c44b..de87c321 100755 --- a/testssl.sh +++ b/testssl.sh @@ -17953,7 +17953,7 @@ EOF } maketempf() { - TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX) + TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX 2>/dev/null) if [[ $? -ne 0 ]]; then # For e.g. devices where we can't write to /tmp we chose $PWD but we can't # allow every char as we haven't quoted all strings depending on it, see #1445