Merge pull request #280 from resouer/minor-fix

Refactoring minor fix
This commit is contained in:
Kenfe-Mickaël Laventure 2016-07-05 11:27:18 -07:00 committed by GitHub
commit ef23e7041b
3 changed files with 3 additions and 3 deletions

View file

@ -338,7 +338,7 @@ func (p *process) initializeIO(rootuid int) (i *IO, err error) {
}
fds = append(fds, r.Fd(), w.Fd())
p.stdio.stderr, i.Stderr = w, r
// change ownership of the pipes incase we are in a user namespace
// change ownership of the pipes in case we are in a user namespace
for _, fd := range fds {
if err := syscall.Fchown(int(fd), rootuid, rootuid); err != nil {
return nil, err