+++ This bug was initially created as a clone of Bug #548450 +++ Description of problem: %SUMMARY Version-Release number of selected component (if applicable): file-4.17-15.el5_3.1 How reproducible: Always Steps to Reproduce: [root@localhost ~]# file this_file_does_not_exist this_file_does_not_exist: ERROR: cannot open `this_file_does_not_exist' (No such file or directory) [root@localhost ~]# echo $? 0 [root@localhost ~]# Actual results: Returns zero exitcode. Expected results: Should IMHO return some non-zero exitcode. Additional info: --- Additional comment from pm-rhel on 2009-12-21 10:20:27 EST --- This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
Created attachment 406467 [details] a patch to solve this
Created attachment 406468 [details] more elegant version of the patch
fixed in rawhide: file-5.04-8.fc14