diff --git a/criu/files-ext.c b/criu/files-ext.c index 95ec8e37c..488f7eb6a 100644 --- a/criu/files-ext.c +++ b/criu/files-ext.c @@ -90,7 +90,8 @@ int dump_unsupp_fd(struct fd_parms *p, int lfd, char *more, char *info, FdinfoEn ret = do_dump_gen_file(p, lfd, &ext_dump_ops, e); if (ret == 0) return 0; - if (ret == -ENOTSUP) - pr_err("Can't dump file %d of that type [%o] (%s %s)\n", p->fd, p->stat.st_mode, more, info); + if (ret == -ENOTSUP){ + pr_info("Can't dump file %d of that type [%o] (%s %s)\n", p->fd, p->stat.st_mode, more, info); + } return -1; } diff --git a/criu/files.c b/criu/files.c index a57fb860f..ff753146e 100644 --- a/criu/files.c +++ b/criu/files.c @@ -854,8 +854,8 @@ int collect_fd(int pid, FdinfoEntry *e, struct rst_info *rst_info, bool fake) fdesc = find_file_desc(e); if (fdesc == NULL) { - pr_err("No file for fd %d id %#x\n", e->fd, e->id); - return -1; + pr_info("No file for fd %d id %#x\n", e->fd, e->id); + return 0; } if (!collect_fd_to(pid, e, rst_info, fdesc, fake, false))