mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
dump: Sanitize dumping message
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
a97985ce95
commit
2efb66d69a
1 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue