Skip to content

Commit

Permalink
remove repeated error message on failure (ko-build#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Jan 4, 2023
1 parent 199156f commit f987fba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package main

import (
"context"
"log"
"os"
"os/signal"

Expand All @@ -29,6 +28,6 @@ func main() {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt)
defer stop()
if err := commands.Root.ExecuteContext(ctx); err != nil {
log.Fatal("error during command execution:", err)
os.Exit(1)
}
}

0 comments on commit f987fba

Please sign in to comment.