summaryrefslogtreecommitdiff
path: root/libpod/shutdown/handler.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-08-17 13:14:22 +0000
committerGitHub <noreply@github.com>2021-08-17 13:14:22 +0000
commitde4d7b2f7c5cc8199fefee904f0b4976de812ae9 (patch)
tree6b43476231046f0f57a63ed2822f0bbe9a499f74 /libpod/shutdown/handler.go
parent8c228bdbd031e5930e6319e8fe25b3ff340919f3 (diff)
parentfe2be7f886ac3be68a1899eeb63f756d6fe3d744 (diff)
downloadpodman-de4d7b2f7c5cc8199fefee904f0b4976de812ae9.tar.gz
podman-de4d7b2f7c5cc8199fefee904f0b4976de812ae9.tar.bz2
podman-de4d7b2f7c5cc8199fefee904f0b4976de812ae9.zip
Merge pull request #11240 from vrothberg/art
make sure that signal buffers are sufficiently big
Diffstat (limited to 'libpod/shutdown/handler.go')
-rw-r--r--libpod/shutdown/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/shutdown/handler.go b/libpod/shutdown/handler.go
index 848b6729a..1e8a9ec3b 100644
--- a/libpod/shutdown/handler.go
+++ b/libpod/shutdown/handler.go
@@ -35,7 +35,7 @@ func Start() error {
return nil
}
- sigChan = make(chan os.Signal, 1)
+ sigChan = make(chan os.Signal, 2)
cancelChan = make(chan bool, 1)
stopped = false