summaryrefslogtreecommitdiff
path: root/cmd/dcat
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
commitec67d9833095dfbe620dd3c99ea0caba391c4b87 (patch)
treebb1e9735b84bb2c7ee6222dbcc1f20d4a896d0ce /cmd/dcat
parentd402cf103b00b8a55c6cab665ab36d4fd282f3a5 (diff)
hit ctrl+c twice to exit
Diffstat (limited to 'cmd/dcat')
-rw-r--r--cmd/dcat/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dcat/main.go b/cmd/dcat/main.go
index f0ea946..05e46ab 100644
--- a/cmd/dcat/main.go
+++ b/cmd/dcat/main.go
@@ -55,7 +55,7 @@ func main() {
panic(err)
}
- status := client.Start(ctx, signal.StatsCh(ctx))
+ status := client.Start(ctx, signal.InterruptCh(ctx))
logger.Flush()
os.Exit(status)
}