Success exit from settag.php if desired state already exists
authorEvan Prodromou <evan@status.net>
Tue, 25 Oct 2011 00:13:10 +0000 (20:13 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 25 Oct 2011 00:13:10 +0000 (20:13 -0400)
commit679361652132f4b85f14a838b273d5415d3e6d22
treebfd26bbbd097585d72be2d3477c1ef08131b19fc
parent499e7d7c41cbf1d28718611eb4f9eaaa19b98ff3
Success exit from settag.php if desired state already exists

If you're adding a tag that already exists, or deleting a tag that
doesn't exist, using settag.php, the exit value is 0 instead of
previous -1. This makes scripting around tags a wee bit easier.
scripts/settag.php