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 90fb801 commit b0a711cCopy full SHA for b0a711c
regress/test-exec.sh
@@ -1,4 +1,4 @@
1
-# $OpenBSD: test-exec.sh,v 1.114 2024/06/06 19:48:40 djm Exp $
+# $OpenBSD: test-exec.sh,v 1.115 2024/06/11 01:58:27 djm Exp $
2
# Placed in the Public Domain.
3
4
#SUDO=sudo
@@ -456,6 +456,7 @@ make_tmpdir ()
456
457
stop_sshd ()
458
{
459
+ [ -z $PIDFILE ] && return
460
[ -f $PIDFILE ] || return
461
pid=`$SUDO cat $PIDFILE`
462
if [ "X$pid" = "X" ]; then
@@ -874,6 +875,7 @@ chmod a+x $OBJ/ssh_proxy.sh
874
875
876
start_sshd ()
877
878
+ PIDFILE=$OBJ/pidfile
879
# start sshd
880
logfile="${TEST_SSH_LOGDIR}/sshd.`$OBJ/timestamp`.$$.log"
881
$SUDO ${SSHD} -f $OBJ/sshd_config "$@" -t || fatal "sshd_config broken"
0 commit comments