Ignore failures when trying to kill the SSH agent

Fixes #32.
This commit is contained in:
Matthias Pigulla 2020-06-23 07:22:02 +00:00
parent 8789658b02
commit daf7f68bfc
6 changed files with 260 additions and 105 deletions

View file

@ -6,5 +6,6 @@ try {
console.log('Stopping SSH agent')
execSync('kill ${SSH_AGENT_PID}', { stdio: 'inherit' })
} catch (error) {
core.setFailed(error.message)
console.log(error.message);
console.log('Error stopping the SSH agent, proceeding anyway');
}