aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-18 16:36:44 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-18 16:36:44 +0000
commit0ee369b75eacb5c8081051f4bf9b57f2906ca2e9 (patch)
tree4e2c8c0fc70e8513d8b76a281e4e6ddfe6127d3f /apps
parentcfae1d2b1771ffa778403db0bd3a907761fc6ba0 (diff)
Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59035 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_followme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index f83cfa165..3eedf2272 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -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 */