summaryrefslogtreecommitdiff
path: root/security/doas/files/patch-doasedit
blob: 53e910bf09c752021ae5f3ec849876cd020baf98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- doasedit.orig	2024-05-10 17:16:18 UTC
+++ doasedit
@@ -30,7 +30,7 @@ then
    exit 3
 fi
 
-temp_file=$(mktemp --tmpdir doasedit.XXXXXXXX)
+temp_file=$(mktemp -t /tmp)
 if [ ! -r "$temp_file" ]
 then
    echo "Was unable to create temporary file."