-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Seth Johnson on 7/19/2005 4:22 PM: > Using coreutils-4.5.3-26, > > stat foo > > (where file foo does not exist) > > exits 0.
Have you tried the latest release, 5.3.0 (http://lists.gnu.org/archive/html/bug-coreutils/2005-01/msg00041.html); or the current CVS? This bug has been fixed: $ stat --version stat (GNU coreutils) 5.3.0 Written by Michael Meskes. Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ stat none stat: cannot stat `none': No such file or directory $ echo $? 1 - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC3j2p84KuGfSFAYARAjqwAKCbrVbkIgUT03yB0oSVGMh2NrO7LQCfS7mR DeYLeWUkKGsI3Zn8RiUa5jE= =fF9L -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
