Browse code

Fix a minor typo

Signed-off-by: Guo Xiuyan <guoxiuyan@huawei.com>

guoxiuyan authored on 2015/04/04 16:36:35
Showing 1 changed files
... ...
@@ -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
 	}