1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix mktemp(1) usage.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2015-01-31 23:12:29 +00:00
parent dfae589ef3
commit 072ff34e71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278012

View File

@ -48,7 +48,7 @@ fi
dtrace="$1" dtrace="$1"
startdir="$PWD" startdir="$PWD"
dir=$(mktemp -td drtiXXXXXX) dir=$(mktemp -d -t drtiXXXXXX)
if (( $? != 0 )); then if (( $? != 0 )); then
print -u2 'Could not create safe temporary directory' print -u2 'Could not create safe temporary directory'
exit 2 exit 2