Skip to content

Commit cbcdcbb

Browse files
committed
fix: return error from ExecStart instead of nil in runWaitExec
1 parent 1c97629 commit cbcdcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (s composeService) runWaitExec(ctx context.Context, execID string, service
102102
TTY: service.Tty,
103103
})
104104
if err != nil {
105-
return nil
105+
return err
106106
}
107107

108108
// We miss a ContainerExecWait API

0 commit comments

Comments
 (0)