Bug 104408 - brctl doesn't have meaningful exit code.
brctl doesn't have meaningful exit code.
Status: CLOSED RAWHIDE
Product: Red Hat Linux Beta
Classification: Retired
Component: bridge-utils (Show other bugs)
beta1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ben LaHaise
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-15 05:45 EDT by David Woodhouse
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version: 0.9.6-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-16 03:37:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Woodhouse 2003-09-15 05:45:12 EDT
brctl doesn't give an exit code indicating success or failure.

# echo "alias bridge off" >> /etc/modules.conf ; brctl addbr br0 ; echo $?
br_add_bridge: Package not installed
0


Ideally, there would at least be a 'test if bridging support is available'
command; 'brctl show > /dev/null' would suffice, if it was going to return
failure from that.

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