mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
6.3p11: * Cleaned up error checking for temporary files, removed redundant check. * Fixed status check for copy and editor launch. 6.3p12: * Make sure doasedit can work when target file to edit has a leading slash character. ie A full path name is used. * Update doas.1 manual page to indicate problems with piping input on Linux when processes are launched by doas. Upstream release announcement: https://github.com/slicer69/doas/releases/tag/6.3p11 https://github.com/slicer69/doas/releases/tag/6.3p12 PR: 278897 MFH: 2024Q2
11 lines
252 B
Text
11 lines
252 B
Text
--- 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."
|