Skip to content
Commit 3ae36e70 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

restore: Don't mess with last_pid when restoring pidns init



When we fork a pidns init there's no need in specifying its pid,
as it will be autogenerated to 1. Clean the code not to mess with
the last_pid sysctl at all in that case, rather than just omitting
the write into it.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 6aaf6564
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