Bug 76017
Summary: | Logics bug in ifup script when determining wireless devices | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Who Cares <redhat> |
Component: | hotplug | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | rvokal |
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: | 2003-02-11 14:34:34 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: |
Description
Who Cares
2002-10-15 20:16:47 UTC
You're reading it wrong.
> "iwconfig $1 2>&1 | grep "no wireless extensions" is not zero. Now, bash uses 0
> to signal SUCCESS. Which means that if the search string is found, the "return
> 0" part won't be triggered.
*Exactly*.
You only return 0 if the search string *isn't* found, which means there *are*
wireless extensions.
|