diff --git a/basher.go b/basher.go index 8106005..e4221ba 100644 --- a/basher.go +++ b/basher.go @@ -298,6 +298,8 @@ func (c *Context) Run(command string, args []string) (int, error) { if err != nil { errChan <- err } + signal.Stop(signals) + close(signals) } } }()