mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: tfix
Remove duplicated words. Signed-off-by: Jakub Wilk <jwilk@jwilk.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d703afe9a6
commit
bf421740d4
|
@ -121,7 +121,7 @@ Additionally, it may fail with the following errors:
|
|||
.\" itself. Of course, this is an odd situation, since a later check
|
||||
.\" in the kernel code will in any case yield EINVAL if 'new_root' is
|
||||
.\" not a mount point. However, when the system call was first added,
|
||||
.\" 'new_root' was not required to be a mount point. So, this this
|
||||
.\" 'new_root' was not required to be a mount point. So, this
|
||||
.\" error is nowadays probably just the result of crufty accumulation.
|
||||
.\" This error can also occur if we bind mount "/" on top of itself
|
||||
.\" and try to specify "/" as the 'new' (again, an odd situation). So,
|
||||
|
@ -357,7 +357,7 @@ child(void *arg)
|
|||
if (pivot_root(new_root, path) == \-1)
|
||||
errExit("pivot_root");
|
||||
|
||||
/* Switch the current working working directory to "/" */
|
||||
/* Switch the current working directory to "/" */
|
||||
|
||||
if (chdir("/") == \-1)
|
||||
errExit("chdir");
|
||||
|
|
Loading…
Reference in New Issue