X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsettag.php;h=19abce43c8018a5d1de97ca83e5740f730c2c294;hb=a35838be9e34d2e2e3a407e16cee60fb65943a2d;hp=ca260f7bf9456822fb42139299fe545960b1cae7;hpb=77a96e3d7cecd5fd61ad72b698a15a8a3c7b0940;p=quix0rs-gnu-social.git diff --git a/scripts/settag.php b/scripts/settag.php index ca260f7bf9..19abce43c8 100644 --- a/scripts/settag.php +++ b/scripts/settag.php @@ -66,12 +66,12 @@ if ($i !== false) { } } else { print "Already set.\n"; - exit(-1); + exit(0); } } else { if (have_option('d', 'delete')) { // Delete print "No such tag.\n"; - exit(-1); + exit(0); } else { $tags[] = $tag; $result = $sn->setTags($tags);