summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/cibuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/cibuild.sh b/script/cibuild.sh
index 9239136dd..74946db0a 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -50,6 +50,7 @@ cat >~/sshd/sshd_config<<-EOF
ListenAddress 0.0.0.0
Protocol 2
HostKey ${HOME}/sshd/id_rsa
+ PidFile ${HOME}/sshd/pid
RSAAuthentication yes
PasswordAuthentication yes
PubkeyAuthentication yes
@@ -99,7 +100,7 @@ if [ -e ./libgit2_clar ]; then
fi
-killall sshd
+kill $(cat "$HOME/sshd/pid")
export GITTEST_REMOTE_URL="https://github.com/libgit2/non-existent"
export GITTEST_REMOTE_USER="libgit2test"