mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Suppress displaying an error in maketempf()
This commit is contained in:
parent
51ca429b48
commit
4b573dd833
@ -17953,7 +17953,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
maketempf() {
|
maketempf() {
|
||||||
TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX)
|
TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX 2>/dev/null)
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
# For e.g. devices where we can't write to /tmp we chose $PWD but we can't
|
# 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
|
# allow every char as we haven't quoted all strings depending on it, see #1445
|
||||||
|
Loading…
Reference in New Issue
Block a user