]> git.ipfire.org Git - thirdparty/util-linux.git/commit
utmpdump: cleanup file descriptor usage
authorKarel Zak <kzak@redhat.com>
Tue, 10 Jul 2012 09:23:35 +0000 (11:23 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Jul 2012 09:25:11 +0000 (11:25 +0200)
commitfaebdd91ba607a18ba303de366ba6fd0b5ac4cf9
treecd5e0eb8a4749c2fb858758d95303d21d5fc62d7
parent5ec1ad13481bb0cd60ba1985a49936646730ae07
utmpdump: cleanup file descriptor usage

 - don't support --follow for stdin at all
 - inotify based implementation closes the file, so don't close it in
   main() again

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/utmpdump.c