* src/df.c (main): Fail and don't print the headers if no
authorJim Meyering <jim@meyering.net>
Thu, 20 Jul 2006 15:42:26 +0000 (15:42 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 20 Jul 2006 15:42:26 +0000 (15:42 +0000)
commit2060c55141708d2ff09cc34d27c0a2a856a21c28
treef47d271ec50076d9d9835c8adab3616989351274
parent6ad7eac04f03b709c045914fa9374f55a0acbc80
* src/df.c (main): Fail and don't print the headers if no
file system is processed.  This makes it easy to test whether
a specified directory is on a file system of a given type or types.
Otherwise, applications would have had to parse df's output.
E.g., is "." either ext3 or reiserfs: df -t ext3 -t reiserfs .
ChangeLog
src/df.c