aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/regress/reconfigure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/regress/reconfigure.sh')
-rw-r--r--crypto/openssh/regress/reconfigure.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssh/regress/reconfigure.sh b/crypto/openssh/regress/reconfigure.sh
index ba6dbc6f5079..1daf29f9a6e8 100644
--- a/crypto/openssh/regress/reconfigure.sh
+++ b/crypto/openssh/regress/reconfigure.sh
@@ -15,8 +15,9 @@ esac
start_sshd
-$SUDO kill -HUP `cat $PIDFILE`
-sleep 1
+PID=`cat $PIDFILE`
+rm -f $PIDFILE
+$SUDO kill -HUP $PID
trace "wait for sshd to restart"
i=0;