[openssh-commits] [openssh] 03/06: upstream: chown log directory in addition to log files.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Mar 28 17:32:44 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 8cd9ed4df0eccc825eca0c45354a37332e125e38
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Fri Mar 28 05:33:30 2025 +0000
upstream: chown log directory in addition to log files.
OpenBSD-Regress-ID: b520d54a0bbf2c6554413c798218bda26b385ad9
---
regress/test-exec.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index b58fcb8f..096933c4 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: test-exec.sh,v 1.124 2025/03/11 07:46:02 dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.125 2025/03/28 05:33:30 dtucker Exp $
# Placed in the Public Domain.
#SUDO=sudo
@@ -531,7 +531,7 @@ save_debug_log ()
for logfile in $TEST_SSH_LOGDIR $TEST_REGRESS_LOGFILE \
$TEST_SSH_LOGFILE $TEST_SSHD_LOGFILE; do
- if [ ! -z "$SUDO" ] && [ -f "$logfile" ]; then
+ if [ ! -z "$SUDO" ] && [ -e "$logfile" ]; then
$SUDO chown -R $USER $logfile
fi
done
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list