Skip to content

Commit 765df7e

Browse files
Fix typo
Signed-off-by: Peng Gao <[email protected]>
1 parent d49ece5 commit 765df7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/standard_init_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (l *linuxStandardInit) Init() error {
140140
return err
141141
}
142142
// compare the parent from the inital start of the init process and make sure that it did not change.
143-
// if the parent changes that means it died and we were reparened to something else so we should
143+
// if the parent changes that means it died and we were reparented to something else so we should
144144
// just kill ourself and not cause problems for someone else.
145145
if syscall.Getppid() != l.parentPid {
146146
return syscall.Kill(syscall.Getpid(), syscall.SIGKILL)

0 commit comments

Comments
 (0)