From c63547ca7bb914b93072f29457518fa9c611b4da Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 26 Jan 2020 01:29:18 +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 f2977fd..787f904 100755 --- a/testssl.sh +++ b/testssl.sh @@ -17272,7 +17272,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