Fix port error
Some checks failed
Build, Test and Push Docker Image / e2e-test (push) Failing after 10s
Build, Test and Push Docker Image / build-and-push (push) Has been skipped

This commit is contained in:
2025-11-06 20:39:33 +01:00
parent 9da91a38d2
commit 31238a67ad

View File

@@ -158,7 +158,7 @@ func handleChannel(channel ssh.Channel, requests <-chan *ssh.Request) {
} }
func runCommand(channel ssh.Channel, command string) { func runCommand(channel ssh.Channel, command string) {
cmd := exec.Command("/bin/bash", "-c", command) cmd := exec.Command("/bin/sh", "-c", command)
cmd.Env = []string{"PATH=/bin"} cmd.Env = []string{"PATH=/bin"}
cmd.Dir = "/" cmd.Dir = "/"
stdin, err := cmd.StdinPipe() stdin, err := cmd.StdinPipe()