wicd-cli returns exit value 0 even when connection fails
Bug #1358809 reported by
Ben the Pyrate
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
When connecting to a network with the wicd-cli interface, it returns an exit status of zero (0) regardless of whether the connection succeeded or failed.
Normally an exit status of zero indicates that the command was successful. It would be helpful (for scripting purposes) if it would return a non-zero exit status if the connection failed.
Related branches
lp:~ben-mendis/wicd/fix-exit-status
- Pieter Leclerc (community): Approve
-
Diff: 27 lines (+6/-0)1 file modifiedcli/wicd-cli.py (+6/-0)
To post a comment you must log in.
Merged lp:~ben-mendis/wicd/fix-exit-status into lp:wicd