commit | 9e886ce34b901528db5a0ce8221e0eacfe0c706f | [log] [download] |
---|---|---|
author | WHR <msl0000023508@gmail.com> | Fri Oct 19 14:02:07 2018 +0800 |
committer | WHR <msl0000023508@gmail.com> | Fri Oct 19 14:15:40 2018 +0800 |
tree | 7c1ef328c8c4c032ebf8b57d05a689b0d9299c8f | |
parent | 193e69c2940438f5f30d7dbd6a84903368b19a17 [diff] |
ipfstat: don't select(2) stdin if it isn't a tty or a pipe in state top; exit state top on EOT or ESC character