Skip to content

Commit

Permalink
perl: fix script halting caused by perl_exec_simple()
Browse files Browse the repository at this point in the history
Fixes #1951

(cherry picked from commit c4652e1)
  • Loading branch information
rvlad-patrascu committed Jan 28, 2020
1 parent ecec7ce commit 0584546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/perl/perlfunc.c
Expand Up @@ -82,7 +82,7 @@ int perl_exec_simple(struct sip_msg* _msg, str *_fnc_s, str *_param_s)
LM_DBG("running perl function \"%s\"\n", fnc);

call_argv(fnc, flags, args);
ret = 0;
ret = 1;
} else {
LM_ERR("unknown function '%s' called.\n", fnc);
ret = -1;
Expand Down

0 comments on commit 0584546

Please sign in to comment.