Skip to content

Conversation

@maciejp-ro
Copy link
Contributor

I noticed that on my self-hosted runner ssh-agent processes accumulated despite the action's cleanup. Also nothing was printed, and ssh-add -k executed locally prints a message.

Original execSync call took first argument as the full command to run and it just started a second ssh-agent. ['-k'] argument was treated as options, it didn't have stdio set, so stdio was piped and returned (and ignored), which explains no output.

Before:
image

After:
image

execSync just started a second ssh-agent. `['-k']` argument was
treated as options, it didn't have `stdio` set, so stdio was piped and
returned (and ignored).
@mpdude
Copy link
Member

mpdude commented Jun 11, 2021

Nice catch, and thanks for the contribution!

@mpdude mpdude merged commit a45226b into webfactory:master Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants