]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: close tty before vhangup()
authorKarel Zak <kzak@redhat.com>
Thu, 12 Jul 2012 14:31:22 +0000 (16:31 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Jul 2012 14:34:56 +0000 (16:34 +0200)
commit783b08fc1c6e5c906e26b1b4856d5df3a7b5a554
tree74596327709361ae2aaeb3c80471f85c199d611b
parent4459448fbd9d3e457bb2c0a104b1b963067e1de9
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>
term-utils/agetty.c