Browse Source

Merge pull request #12074 from guoxiuyan/Fix_typo

Fix a minor typo
Doug Davis 10 years ago
parent
commit
ca8d196d13
1 changed files with 1 additions and 1 deletions
  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)
 	oom := notifyOnOOM(cont)
 	waitF := p.Wait
 	waitF := p.Wait
 	if nss := cont.Config().Namespaces; !nss.Contains(configs.NEWPID) {
 	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
 		// because cmd.Wait() waiting for all streams to be copied
 		waitF = waitInPIDHost(p, cont)
 		waitF = waitInPIDHost(p, cont)
 	}
 	}