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

View File

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