mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
tty: Handle tty collecting error
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
2
tty.c
2
tty.c
@@ -842,7 +842,7 @@ int collect_tty(void)
|
|||||||
ret = collect_image(CR_FD_TTY_INFO, PB_TTY_INFO,
|
ret = collect_image(CR_FD_TTY_INFO, PB_TTY_INFO,
|
||||||
sizeof(struct tty_info_entry),
|
sizeof(struct tty_info_entry),
|
||||||
collect_one_tty_info_entry);
|
collect_one_tty_info_entry);
|
||||||
|
if (!ret)
|
||||||
ret = collect_image(CR_FD_TTY, PB_TTY,
|
ret = collect_image(CR_FD_TTY, PB_TTY,
|
||||||
sizeof(struct tty_info),
|
sizeof(struct tty_info),
|
||||||
collect_one_tty);
|
collect_one_tty);
|
||||||
|
Reference in New Issue
Block a user