mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-05 07:27:03 +08:00
Fix signal handling for unit tests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -247,7 +247,7 @@ func (r *runner) run(config *specs.Process) (int, error) {
|
||||
}
|
||||
}
|
||||
if !r.create {
|
||||
if err := process.Signal(syscall.SIGCONT); err != nil {
|
||||
if err := process.Signal(libcontainer.InitContinueSignal); err != nil {
|
||||
r.terminate(process)
|
||||
r.destroy()
|
||||
tty.Close()
|
||||
|
Reference in New Issue
Block a user