Signed-off-by: Guo Xiuyan <guoxiuyan@huawei.com>
| ... | ... |
@@ -159,7 +159,7 @@ func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba |
| 159 | 159 |
oom := notifyOnOOM(cont) |
| 160 | 160 |
waitF := p.Wait |
| 161 | 161 |
if nss := cont.Config().Namespaces; !nss.Contains(configs.NEWPID) {
|
| 162 |
- // we need such hack for tracking processes with inerited fds, |
|
| 162 |
+ // we need such hack for tracking processes with inherited fds, |
|
| 163 | 163 |
// because cmd.Wait() waiting for all streams to be copied |
| 164 | 164 |
waitF = waitInPIDHost(p, cont) |
| 165 | 165 |
} |