diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-16 20:19:23 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-16 20:19:23 +0000 |
commit | 66d35b0dfbe84d8e33db8fe84fc8c8f0b3226eb7 (patch) | |
tree | 7aefa2ea5c2d6823b898a03f988e992850a115a8 | |
parent | c2f94a9f3f93c4bc6949bb80d2bc096bd066e67f (diff) | |
parent | 5a8ee1beee364559bac37376949de1ea01d00ae2 (diff) |
Merge release-20200323.0-166-g5a8ee1b (automated)
-rw-r--r-- | runsc/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/main.go b/runsc/main.go index 59f624842..c1c78529c 100644 --- a/runsc/main.go +++ b/runsc/main.go @@ -291,7 +291,7 @@ func main() { // want with them. Since Docker and Containerd both eat boot's stderr, we // dup our stderr to the provided log FD so that panics will appear in the // logs, rather than just disappear. - if err := syscall.Dup3(fd, int(os.Stderr.Fd()), syscall.O_CLOEXEC); err != nil { + if err := syscall.Dup3(fd, int(os.Stderr.Fd()), 0); err != nil { cmd.Fatalf("error dup'ing fd %d to stderr: %v", fd, err) } } |