swauth-add-user has wrong exit status on err 403

Bug #768702 reported by David Pravec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Committed
Medium
Greg Lange

Bug Description

while plaing with swift 1.2.0-1~bpo60+1

swauth-add-user ...... with wrong user/pass gave me:
Account creation failed: 403 Forbidden
User creation failed: 403 Forbidden
root@node2:~/bin# echo $?
0

0 is clearly not correct exit status. It should be nonzero number, indicating a problem.

gholt (gholt)
Changed in swift:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Greg Lange (greglange)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.