From 9e2b97bf352ad1a04ee6c28e2cd2668b63bfec84 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 15 Aug 2006 23:41:24 +0000 Subject: * NEWS: Mention that df exits with nonzero status if it generates no output. This change was in 6.0 but inadvertently unmentioned. * doc/coreutils.texi (df invocation): df exits nonzero if it outpus nothing. * src/df.c (file_systems_processed): Renamed from n_valid_args, and now a boolean. (show_dev): Don't set it until we actually output something. Print the header if this is the first output. (main): Don't print a header, as that is now show_dev's job. * tests/misc/Makefile.am (TESTS): Add df. * tests/misc/df: New file. --- doc/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/ChangeLog') diff --git a/doc/ChangeLog b/doc/ChangeLog index 6cdf3743f..85be546a2 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-08-15 Paul Eggert + + * coreutils.texi (df invocation): df exits nonzero if it outpus + nothing. + 2006-08-09 Paul Eggert * coreutils.texi (dd invocation): Warn about oflag=append without -- cgit v1.2.3-54-g00ecf