diff --git a/criu/sk-queue.c b/criu/sk-queue.c index 1a4c77c96..7cc6c7692 100644 --- a/criu/sk-queue.c +++ b/criu/sk-queue.c @@ -166,16 +166,15 @@ int sk_queue_post_actions(void) } if (!found) { - pr_err("ucred: Can't lookup process with pid %d\n", - ue->pid); - ret = -ENOENT; + pr_warn("ucred: Can't find process with pid %d, ignoring packet\n", + ue->pid); goto next; - } else { - pr_debug("ucred: Fixup ucred pids %d -> %d\n", - ue->pid, vpid(item)); - ue->pid = vpid(item); } + pr_debug("ucred: Fixup ucred pids %d -> %d\n", + ue->pid, vpid(item)); + ue->pid = vpid(item); + ret = pb_write_one(img, pkt->entry, PB_SK_QUEUES); if (ret < 0) { ret = -EIO;