Skip to content

Commit

Permalink
Revert "Only capture ctrl-c while tests are running"
Browse files Browse the repository at this point in the history
This reverts commit e3efa08.
  • Loading branch information
edcdavid committed Dec 5, 2023
1 parent e3efa08 commit b3a73e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/checksdb/checksdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ func RunChecks(labelsExpr string, timeout time.Duration) error {
const SIGINTBufferLen = 10
sigIntChan := make(chan os.Signal, SIGINTBufferLen)
signal.Notify(sigIntChan, syscall.SIGINT, syscall.SIGTERM)
// turn off ctrl-c capture on exit
defer signal.Stop(sigIntChan)

// Labels expression parser not implemented yet. Assume labelsExpr is just a label.
abort := false
Expand Down

0 comments on commit b3a73e4

Please sign in to comment.