tty: Fix deprecation detection logic
When collecting tty records the @id may come in as external tty entry which has no regular file record (because it gonna be inherited on the restore from the command line option). Thus, make sure that deprecated_ok() is never called on external ttys. Signed-off-by:Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment