2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

dump: Sanitize dumping message

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-10-06 14:07:48 +04:00
parent a97985ce95
commit 2efb66d69a

View File

@@ -965,11 +965,12 @@ int cr_dump_tasks(pid_t pid, struct cr_options *opts)
struct pstree_item *item;
int ret = -1;
if (!opts->leader_only) {
pr_info("========================================\n");
pr_info("========================================\n");
if (!opts->leader_only)
pr_info("Dumping process group (pid: %d)\n", pid);
pr_info("========================================\n");
}
else
pr_info("Dumping process (pid: %d)\n", pid);
pr_info("========================================\n");
if (collect_pstree(pid))
goto err;