mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
6
vendor/github.com/opencontainers/runc/libcontainer/restored_process.go
generated
vendored
6
vendor/github.com/opencontainers/runc/libcontainer/restored_process.go
generated
vendored
@@ -106,7 +106,11 @@ func (p *nonChildProcess) startTime() (string, error) {
|
||||
}
|
||||
|
||||
func (p *nonChildProcess) signal(s os.Signal) error {
|
||||
return newGenericError(fmt.Errorf("restored process cannot be signaled"), SystemError)
|
||||
proc, err := os.FindProcess(p.processPid)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return proc.Signal(s)
|
||||
}
|
||||
|
||||
func (p *nonChildProcess) externalDescriptors() []string {
|
||||
|
Reference in New Issue
Block a user