HomeFreeBSD

mktemp: skip later TMPDIR check if -p is specified

Description

mktemp: skip later TMPDIR check if -p is specified

We already did the necessary $TMPDIR fallback, if it's going to be used.
Skip the later check so that we don't accidentally override our -p
argument.

Fixes: ac6f924e1c ("mktemp: add -p/--tmpdir argument")
Sponsored by: Klara, Inc.

Details

Provenance
kevansAuthored on Nov 9 2022, 6:02 AM
Parents
rG83286682f848: vfs: whack mips remnant
Branches
Unknown
Tags
Unknown