Skip to content

Commit 31a0fb7

Browse files
committed
fix error handling for run_shell task
1 parent 1e74bdb commit 31a0fb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/coordinator/tasks/run_shell

pkg/coordinator/tasks/run_shell/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ cmdloop:
171171
// await completion
172172
if execErr != nil {
173173
cmdLogger.Errorf("failed command execution")
174-
return err
174+
return execErr
175175
}
176176

177177
cmdLogger.Info("command run successfully")

0 commit comments

Comments
 (0)