Swift cli doesn't return exit codes
Bug #973557 reported by
Paul Bourke
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If /usr/bin/swift encounters an error it still returns 0 to the caller:
e.g. (arbitrary example)
$ swift -A https:/
[Errno 111] ECONNREFUSED
$ echo $?
0
This makes it more difficult to use the swift cli in simple scripts.
Will try and submit a patch soon if I get a chance.
tags: | added: python-swiftclient |
Changed in swift: | |
status: | New → Confirmed |
affects: | swift → python-swiftclient |
Changed in python-swiftclient: | |
milestone: | none → 2.5.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Was fixed in 6119de7. The commit message even referenced this bug, but I guess it didn't get updated.