diff options
author | Karel Zak | 2012-07-12 16:31:22 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-12 16:34:56 +0200 |
commit | 783b08fc1c6e5c906e26b1b4856d5df3a7b5a554 (patch) | |
tree | 74596327709361ae2aaeb3c80471f85c199d611b /login-utils/login.c | |
parent | agetty: make tcsetpgrp() optional (diff) | |
download | kernel-qcow2-util-linux-783b08fc1c6e5c906e26b1b4856d5df3a7b5a554.tar.gz kernel-qcow2-util-linux-783b08fc1c6e5c906e26b1b4856d5df3a7b5a554.tar.xz kernel-qcow2-util-linux-783b08fc1c6e5c906e26b1b4856d5df3a7b5a554.zip |
agetty: close tty before vhangup()
Let's close all tty file descriptors if called with --hangup option.
References: https://lkml.org/lkml/2012/6/5/145
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/login.c')
0 files changed, 0 insertions, 0 deletions