dont catch signals in console, as it seems unecessary for now

This commit is contained in:
Adrien Delorme 2020-05-12 11:29:09 +02:00
parent 22a36ef97a
commit 14f18f4236
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ type ConsoleCommand struct {
} }
func (c *ConsoleCommand) Run(args []string) int { func (c *ConsoleCommand) Run(args []string) int {
ctx, cleanup := handleTermInterrupt(c.Ui) ctx := context.Background()
defer cleanup()
cfg, ret := c.ParseArgs(args) cfg, ret := c.ParseArgs(args)
if ret != 0 { if ret != 0 {