]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't return a non-zero return code if the profile doesn't exist, to match what...
authorBJ Weschke <bweschke@btwtech.com>
Sun, 18 Mar 2007 16:36:44 +0000 (16:36 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sun, 18 Mar 2007 16:36:44 +0000 (16:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59035 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_followme.c

index f83cfa1657f18e25d7b10e9cc1fe8df9ed0038c9..3eedf2272fdcba939814efc21e61b7394288bb98 100644 (file)
@@ -952,7 +952,7 @@ static int app_exec(struct ast_channel *chan, void *data)
                ast_log(LOG_DEBUG, "New profile %s.\n", args.followmeid);
        if (!f) { 
                ast_log(LOG_WARNING, "Profile requested, %s, not found in the configuration.\n", args.followmeid);
-               res = -1;
+               res = 0;
        } else {
                /* XXX TODO: Reinsert the db check value to see whether or not follow-me is on or off */