Skip to content

Commit

Permalink
Merge 20fb419 into e9f7c48
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Feb 7, 2020
2 parents e9f7c48 + 20fb419 commit 91323d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
// flag, probably as part of: https://github.com/ooni/probe-cli/issues/45
func listenForSignals(ctx *ooni.Context) {
s := make(chan os.Signal, 1)
signal.Notify(s, os.Interrupt, syscall.SIGTERM)
signal.Notify(s, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)

go func() {
<-s
Expand Down

0 comments on commit 91323d8

Please sign in to comment.