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:
parent
dfae589ef3
commit
072ff34e71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278012
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user