We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e32de6b commit 8cd9ed4Copy full SHA for 8cd9ed4
regress/test-exec.sh
@@ -1,4 +1,4 @@
1
-# $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 $
2
# Placed in the Public Domain.
3
4
#SUDO=sudo
@@ -531,7 +531,7 @@ save_debug_log ()
531
532
for logfile in $TEST_SSH_LOGDIR $TEST_REGRESS_LOGFILE \
533
$TEST_SSH_LOGFILE $TEST_SSHD_LOGFILE; do
534
- if [ ! -z "$SUDO" ] && [ -f "$logfile" ]; then
+ if [ ! -z "$SUDO" ] && [ -e "$logfile" ]; then
535
$SUDO chown -R $USER $logfile
536
fi
537
done
0 commit comments