[CRIU] [PATCH 03/10] restore: Fix indentation of one if

Pavel Emelyanov xemul at virtuozzo.com
Fri Apr 28 05:27:55 PDT 2017


Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/cr-restore.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index fd843d0..ec4a6d8 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -1419,8 +1419,8 @@ static int restore_task_with_children(void *_arg)
 
 	/* Wait prepare_userns */
 	if (current->parent == NULL &&
-            restore_finish_stage(task_entries, CR_STATE_RESTORE_NS) < 0)
-			goto err;
+			restore_finish_stage(task_entries, CR_STATE_RESTORE_NS) < 0)
+		goto err;
 
 	/*
 	 * Call this _before_ forking to optimize cgroups
-- 
2.1.4



More information about the CRIU mailing list