Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions panicwrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ func Wrap(c *WrapConfig) (int, error) {

// Listen to signals and capture them forever. We allow the child
// process to handle them in some way.
sigCh := make(chan os.Signal)
fwdSigCh := make(chan os.Signal)
sigCh := make(chan os.Signal, 1)
fwdSigCh := make(chan os.Signal, 1)
if len(c.IgnoreSignals) == 0 {
c.IgnoreSignals = []os.Signal{os.Interrupt}
}
Expand Down