Version 4.5.3 of stat(1) returns 0 (success indication) on error. Here's an example to reproduce (and visually verify) the problem:
$ stat abcd; echo $? stat: cannot stat `abcd': No such file or directory 0 $ A non-zero value should have been printed at the end. John _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
