Suppress displaying an error in maketempf()

This commit is contained in:
Dirk 2020-01-26 01:29:18 +01:00
parent b0b084dcda
commit c63547ca7b

View File

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