Commit 995b0bf5 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

ipc: Don't fail on "show" if there is no data dumped

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 405985e9
......@@ -168,7 +168,7 @@ static void show_ipc_data(int fd)
int ret;
struct ipc_ns_data ipc;
ret = read_img(fd, &ipc);
ret = read_img_eof(fd, &ipc);
if (ret <= 0)
return;
show_ipc_entry(&ipc.entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment