Bug 480677 - /etc/init/network sets result code to 0 even when the service fails
Summary: /etc/init/network sets result code to 0 even when the service fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 10
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-19 19:25 UTC by Darryl L. Pierce
Modified: 2015-06-22 00:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-21 03:38:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Darryl L. Pierce 2009-01-19 19:25:27 UTC
Description of problem:
When restarting the network service, and the service fails, a result code of 0 is being returned. 

Version-Release number of selected component (if applicable):
initscripts-8.86-1.i386 

How reproducible:

Steps to Reproduce:
1. Disconnect any network cables
2. Restart networking to produce the [FAILED] message
3. Check the result code with "echo $?"
  
Actual results:
The return code is 0.

Expected results:
The return code should be non-zero.

Additional info:


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