summaryrefslogtreecommitdiff
path: root/regress/reconfigure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/reconfigure.sh')
-rw-r--r--regress/reconfigure.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/reconfigure.sh b/regress/reconfigure.sh
index ba6dbc6f..1daf29f9 100644
--- a/regress/reconfigure.sh
+++ b/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;