summaryrefslogtreecommitdiff
path: root/cmd/dgrep
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-09-11 12:30:29 +0100
committerPaul Buetow <pbuetow@mimecast.com>2020-09-11 12:30:29 +0100
commit4bcc6d68844001b41d615aa01bacf580669af1c4 (patch)
treebb1e9735b84bb2c7ee6222dbcc1f20d4a896d0ce /cmd/dgrep
parent216a657393b6d0fee062f3aa5d3167dfa47a2e7a (diff)
hit ctrl+c twice to exit
Diffstat (limited to 'cmd/dgrep')
-rw-r--r--cmd/dgrep/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go
index d1fdc21..133631f 100644
--- a/cmd/dgrep/main.go
+++ b/cmd/dgrep/main.go
@@ -63,7 +63,7 @@ func main() {
panic(err)
}
- status := client.Start(ctx, signal.StatsCh(ctx))
+ status := client.Start(ctx, signal.InterruptCh(ctx))
logger.Flush()
os.Exit(status)
}