Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliechti committed Oct 25, 2022
2 parents 1c9f96b + 368b2be commit 6b45aad
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 @@ -4,7 +4,6 @@ import (
"context"
"os"
"os/signal"
"syscall"

"github.com/adrianliechti/devkit/app/catalog"
"github.com/adrianliechti/devkit/app/template"
Expand Down Expand Up @@ -57,7 +56,7 @@ import (
var version string

func main() {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM, syscall.SIGQUIT, syscall.SIGPIPE)
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill)
defer stop()

app := initApp()
Expand Down

0 comments on commit 6b45aad

Please sign in to comment.