From 3e36e538050e2c9e39398696aaf2a03ddbf2ac4b Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Mon, 18 Nov 2024 06:51:17 -0700 Subject: [PATCH] no catch sigint --- cmd/rmdir/main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/rmdir/main.go b/cmd/rmdir/main.go index d919a6b..c03a2f9 100644 --- a/cmd/rmdir/main.go +++ b/cmd/rmdir/main.go @@ -5,17 +5,12 @@ import ( "fmt" "log" "os" - "os/signal" - "syscall" "ffmpeg.d/pkg/fs" ) func main() { - ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT) - defer can() - - if err := Run(ctx, os.Args[1:]); err != nil { + if err := Run(context.Background(), os.Args[1:]); err != nil { panic(err) } }