Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request opencontainers#1943 from giuseppe/allow-to-signal-…
Browse files Browse the repository at this point in the history
…paused-containers

kill: allow to signal paused containers
  • Loading branch information
crosbymichael authored Dec 3, 2018
2 parents ff38d6e + 07d1ad4 commit 96ec217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/container_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func (c *linuxContainer) Signal(s os.Signal, all bool) error {
return err
}
// to avoid a PID reuse attack
if status == Running || status == Created {
if status == Running || status == Created || status == Paused {
if err := c.initProcess.signal(s); err != nil {
return newSystemErrorWithCause(err, "signaling init process")
}
Expand Down

0 comments on commit 96ec217

Please sign in to comment.