wicd-cli returns exit value 0 even when connection fails

Bug #1358809 reported by Ben the Pyrate on 2014-08-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
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
Tom Van Braeckel (community): Approve on 2014-12-11
Changed in wicd:
milestone: none → 2.0
milestone: 2.0 → none
importance: Undecided → Medium
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers