Index: res/res_agi.c =================================================================== --- res/res_agi.c (revision 29163) +++ res/res_agi.c (working copy) @@ -1971,7 +1971,7 @@ close(efd); } ast_localuser_remove(me, u); - return res; + return 0; } static int agi_exec(struct ast_channel *chan, void *data)