summaryrefslogtreecommitdiff
path: root/internal/ior.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-14 20:12:53 +0200
committerPaul Buetow <paul@buetow.org>2025-03-14 20:12:53 +0200
commita4948d9fb1aded11e3111f3730b4e3e4e5bd540c (patch)
treea769be7265ea956033380919eaf1d8d56e395892 /internal/ior.go
parent5373526439ef4f7554da365bff7817e8c621a9b4 (diff)
use syscall name without enter_ prefix
Diffstat (limited to 'internal/ior.go')
-rw-r--r--internal/ior.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ior.go b/internal/ior.go
index 62e25ef..3aa4679 100644
--- a/internal/ior.go
+++ b/internal/ior.go
@@ -82,6 +82,7 @@ func Run(flags flags.Flags) {
ctx, cancel := context.WithCancel(context.Background())
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
+
go func() {
defer cancel()
<-c