Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Brehm <[email protected]>
  • Loading branch information
laurazard committed Feb 6, 2025
1 parent 85a77af commit 76e0088
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ func (e errCtxSignalTerminated) Error() string {
}

func main() {
ctx := context.Background()
err := dockerMain(ctx)

err := dockerMain(context.Background())
if errors.As(err, &errCtxSignalTerminated{}) {
os.Exit(getExitCode(err))
return
}

if err != nil && !errdefs.IsCancelled(err) {
Expand Down

0 comments on commit 76e0088

Please sign in to comment.