Skip to content

Commit 7cd28ae

Browse files
committed
Linter
1 parent 27d1787 commit 7cd28ae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

coderd/coderdtest/oidctest/testidp/main.go renamed to cmd/testidp/main.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ func RunIDP() func(t *testing.T) {
5050
log.Println("Press Ctrl+C to exit")
5151
c := make(chan os.Signal, 1)
5252
signal.Notify(c, os.Interrupt)
53-
select {
54-
case <-c:
55-
log.Println("Closing")
56-
}
53+
54+
// Block until ctl+c
55+
<-c
56+
log.Println("Closing")
57+
5758
}
5859
}

0 commit comments

Comments
 (0)