[openssh-commits] [openssh] 05/05: upstream: Use $SUDO when reading sshd's pidfile here too.

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Jun 10 20:53:32 AEST 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 31fac20c941126281b527605b73bff30a8f02edd
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Thu Jun 10 09:46:28 2021 +0000

    upstream: Use $SUDO when reading sshd's pidfile here too.
    
    OpenBSD-Regress-ID: 6bfb0d455d493f24839034a629c5306f84dbd409
---
 regress/reconfigure.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh
index 5cb3e389..d5b4e980 100644
--- a/regress/reconfigure.sh
+++ b/regress/reconfigure.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: reconfigure.sh,v 1.8 2021/06/10 09:43:51 dtucker Exp $
+#	$OpenBSD: reconfigure.sh,v 1.9 2021/06/10 09:46:28 dtucker Exp $
 #	Placed in the Public Domain.
 
 tid="simple connect after reconfigure"
@@ -45,7 +45,7 @@ fi
 trace "reconfigure with active clients"
 ${SSH} -F $OBJ/ssh_config somehost sleep 10  # authenticated client
 ${NC} -d 127.0.0.1 $PORT >/dev/null &  # unauthenticated client
-PID=`cat $PIDFILE`
+PID=`$SUDO cat $PIDFILE`
 rm -f $PIDFILE
 $SUDO kill -HUP $PID
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list