diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2017-07-24 16:48:04 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2017-07-24 17:38:39 +0100 |
commit | 697583ea3aceb1379c576515ffa713ba29c50437 (patch) | |
tree | 2b629457a563831ec4fd8664f0b6126a4066b2fa /script | |
parent | 4da38193c568ca3842bc1130c82e7a9f955f23aa (diff) | |
download | libgit2-697583ea3aceb1379c576515ffa713ba29c50437.tar.gz |
travis: only kill our own sshd
Diffstat (limited to 'script')
-rwxr-xr-x | script/cibuild.sh | 3 |
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" |