浏览代码

Fix a minor typo

Signed-off-by: Guo Xiuyan <guoxiuyan@huawei.com>
guoxiuyan 10 年之前
父节点
当前提交
ffcc4a1e52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/execdriver/native/driver.go

+ 1 - 1
daemon/execdriver/native/driver.go

@@ -159,7 +159,7 @@ func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba
 	oom := notifyOnOOM(cont)
 	waitF := p.Wait
 	if nss := cont.Config().Namespaces; !nss.Contains(configs.NEWPID) {
-		// we need such hack for tracking processes with inerited fds,
+		// we need such hack for tracking processes with inherited fds,
 		// because cmd.Wait() waiting for all streams to be copied
 		waitF = waitInPIDHost(p, cont)
 	}