Fix mktemp(1) usage.
MFC after: 1 week
This commit is contained in:
parent
dfae589ef3
commit
072ff34e71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user