Repalce missing context

This commit is contained in:
lash 2025-01-08 07:34:15 +00:00
parent 6339f0c2e5
commit 721f80d0f2
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -204,6 +204,7 @@ func(s *SshRunner) GetEngine(sessionId string) (engine.Engine, func(), error) {
// adapted example from crypto/ssh package, NewServerConn doc
func(s *SshRunner) Run(ctx context.Context, keyStore *SshKeyStore) {
s.Ctx = ctx
running := true
// TODO: waitgroup should probably not be global