diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 02:19:53 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 02:19:53 +0000 |
commit | 90617166446a65b65f496987b2141a484dc5b8db (patch) | |
tree | 95d67201ef6425390f6429a46d3a54da0731fa78 | |
parent | e463c42ba7f5eebc82988f7b09509ecd99de55bc (diff) |
issue #5581
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | asterisk.c | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,7 @@ 2005-11-07 Kevin P. Fleming <kpfleming@digium.com> + * asterisk.c (main): setpriority() failure is not a reason to stop the process (issue #5581) + * say.c (ast_say_date_with_format_da): say hours properly (issue #5576) * manager.c (astman_get_variables): restore old multiple-variable behavior for "Variable" header (issue #5585) diff --git a/asterisk.c b/asterisk.c index 201c9fd6b..0208cc1ac 100755 --- a/asterisk.c +++ b/asterisk.c @@ -2061,9 +2061,8 @@ int main(int argc, char *argv[]) runuser = ast_config_AST_RUN_USER; #ifndef __CYGWIN__ - if (!is_child_of_nonroot && ast_set_priority(option_highpriority)) { - exit(1); - } + if (!is_child_of_nonroot) + ast_set_priority(option_highpriority); if (!is_child_of_nonroot && rungroup) { struct group *gr; |