From ae11c252f67b13185dee41d8f08da61b81802193 Mon Sep 17 00:00:00 2001 From: jamesread Date: Tue, 18 May 2021 21:57:31 +0100 Subject: [PATCH] int32 for exit status --- internal/executor/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/executor/executor.go b/internal/executor/executor.go index c7ae113..309b669 100644 --- a/internal/executor/executor.go +++ b/internal/executor/executor.go @@ -41,7 +41,7 @@ func ExecAction(action string) *pb.StartActionResponse { cmd := exec.CommandContext(ctx, "sh", "-c", actualAction.Shell) stdout, stderr := cmd.Output() - res.ExitCode = int64(cmd.ProcessState.ExitCode()) + res.ExitCode = int32(cmd.ProcessState.ExitCode()) res.Stdout = string(stdout) if stderr == nil {