restore: Don't parse pstree twice
This file is parsed once to find who to fork and then for the 2nd time to find threads to create. Remove the 2nd parse holding the info found on the 1st stage in local *me variable. Signed-off-by:Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
Showing
Please
register
or
sign in
to comment