Bug 104408 - brctl doesn't have meaningful exit code.
brctl doesn't have meaningful exit code.
Product: Red Hat Linux Beta
Classification: Retired
Component: bridge-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ben LaHaise
Depends On:
  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:
Last Closed: 2003-09-16 03:37:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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

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.