mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #22 from lizf-os/remove-nsinit-from-comments
Remove nsinit from comments
This commit is contained in:
@@ -18,7 +18,7 @@ func newTty(create bool, p *libcontainer.Process, rootuid int) (*tty, error) {
|
||||
return createStdioPipes(p)
|
||||
}
|
||||
|
||||
// setup standard pipes so that the TTY of the calling nsinit process
|
||||
// setup standard pipes so that the TTY of the calling runc process
|
||||
// is not inherited by the container.
|
||||
func createStdioPipes(p *libcontainer.Process) (*tty, error) {
|
||||
t := &tty{}
|
||||
|
||||
@@ -140,7 +140,7 @@ func fatalf(t string, v ...interface{}) {
|
||||
}
|
||||
|
||||
// getDefaultID returns a string to be used as the container id based on the
|
||||
// current working directory of the nsinit process. This function panics
|
||||
// current working directory of the runc process. This function panics
|
||||
// if the cwd is unable to be found based on a system error.
|
||||
func getDefaultID() string {
|
||||
cwd, err := os.Getwd()
|
||||
|
||||
Reference in New Issue
Block a user