Skip to content

Commit cedaf44

Browse files
committed
Ignore SIGURG on Darwin too
This extends docker#2929 to Darwin as well as Linux. Running the example in golang/go#37942 I see lots of: ``` dave@m1 sigurg % uname -ms Darwin arm64 dave@m1 sigurg % go run main.go received urgent I/O condition: 2021-05-21 16:03:03.482211 +0100 BST m=+0.014553751 received urgent I/O condition: 2021-05-21 16:03:03.507171 +0100 BST m=+0.039514459 ``` Signed-off-by: David Scott <[email protected]>
1 parent 86e1f04 commit cedaf44

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build !windows
2+
13
package container
24

35
import (

cli/command/container/signals_linux_test.go renamed to cli/command/container/signals_unix_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build !windows
2+
13
package container
24

35
import (
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build !linux
2-
31
package container
42

53
import "os"

0 commit comments

Comments
 (0)