Skip to content
Commit 245fa6ea authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

mount: change cwd on the root before restoring mntns (v2)



We are going to make pivot_root after restoring mount name-space,
so relative paths will be used for mountpoints.

v2: print correct root in a error message
Signed-off-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 7e096fb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment