aboutsummaryrefslogtreecommitdiff
path: root/security/doas/files/patch-doasedit
blob: 61cad710e13e3e47e05060d5d124f6fa1b246145 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- doasedit.orig	2021-09-13 18:56:31 UTC
+++ doasedit
@@ -30,7 +30,7 @@ then
    exit 3
 fi
 
-temp_file=$(mktemp --tmpdir doasedit.XXXXXXXX)
+temp_file=$(mktemp -t /tmp)
 if [ ! $? ]
 then
    echo "Could not create temporary file."