Bug 572926

Summary: satellite-sync should set exit value properly when finishing with a traceback
Product: [Community] Spacewalk Reporter: Šimon Lukašík <slukasik>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 14:57:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 559281    

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.