Bug 572926 - satellite-sync should set exit value properly when finishing with a traceback
Summary: satellite-sync should set exit value properly when finishing with a traceback
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space09
TreeView+ depends on / blocked
 
Reported: 2010-03-12 11:15 UTC by Šimon Lukašík
Modified: 2010-05-05 14:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-05 14:57:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Šimon Lukašík 2010-03-12 11:15:06 UTC
Description of problem:
satellite-sync doesn't return non zero value from system traceback

Version-Release number of selected component (if applicable):
spacewalk-backend-tools-0.5.28-40.1.el5sat.noarch

How reproducible:
always

Steps to Reproduce:
1. satellite-sync -c some-channel
2. Ctr-C
3. echo $?
  
Actual results:
satellite-sync returns 0 for system traceback

Expected results:
Non zero value for system tracebacks.


Additional info:
This is very similar to BZ#569233 and may be related to other components.

Comment 1 Michael Mráka 2010-04-15 14:52:25 UTC
Fixed by

commit a5789befd217c2eabc090446aa1230db5ad5c842
    Automatic commit of package [spacewalk-backend] release [0.9.23-1].
commit 6b0551ab5384e30a70d2e9757c98afde7ab36a7c
    572926 - exit with error value

in package spacewalk-backend-0.9.23-1.

Comment 2 Miroslav Suchý 2010-05-05 14:57:04 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


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