[CRIU] [PATCH 09/14] tty: Make tty_setup_slavery to return error

Cyrill Gorcunov gorcunov at openvz.org
Mon Oct 15 10:54:52 EDT 2012


In case if here no task found which would restore
controlling terminal -- exit with error instead of
continue with just error message.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-restore.c  |    4 +++-
 include/tty.h |    2 +-
 tty.c         |   14 +++++++++-----
 3 files changed, 13 insertions(+), 7 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-tty-Make-tty_setup_slavery-to-return-error.patch
Type: text/x-patch
Size: 1910 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121015/483880a4/0009-tty-Make-tty_setup_slavery-to-return-error.bin


More information about the CRIU mailing list