diff options
-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; |