Bug 749369 - wrong exit code gvfs-cat
Summary: wrong exit code gvfs-cat
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gvfs
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-26 20:06 UTC by Tomas Pelka
Modified: 2015-03-03 23:02 UTC (History)
2 users (show)

Fixed In Version: gvfs-1.4.3-15.el6
Doc Type: Bug Fix
Doc Text:
Cause: code had hardcoded exit codes Consequence: gvfs tools always returned zero on exit Fix: exit codes have been revised Result: gvfs tools now return proper exit codes
Clone Of:
Environment:
Last Closed: 2012-07-31 09:22:32 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:1124 0 normal SHIPPED_LIVE gvfs bug fix and enhancement update 2012-07-31 13:20:54 UTC

Description Tomas Pelka 2011-10-26 20:06:03 UTC
Description of problem:

Version-Release number of selected component (if applicable):
gvfs-1.4.3-14.el6

How reproducible:
100%

Steps to Reproduce:
1. gvfs-cat nonsense-arg
2.
3.
  
Actual results:
Exit with 0

Expected results:
Should exit with 1

Additional info:

Comment 2 Suzanne Logcher 2012-02-14 23:18:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Tomáš Bžatek 2012-07-20 11:45:52 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: code had hardcoded exit codes

Consequence: gvfs tools always returned zero on exit

Fix: exit codes have been revised

Result: gvfs tools now return proper exit codes

Comment 8 errata-xmlrpc 2012-07-31 09:22:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-1124.html


Note You need to log in before you can comment on or make changes to this bug.