Suppress displaying an error in maketempf()

This commit is contained in:
Dirk 2020-01-26 01:24:11 +01:00
parent 51ca429b48
commit 4b573dd833
1 changed files with 1 additions and 1 deletions

View File

@ -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