From 90617166446a65b65f496987b2141a484dc5b8db Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 8 Nov 2005 02:19:53 +0000 Subject: [PATCH] issue #5581 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7014 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- ChangeLog | 2 ++ asterisk.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 39f4f53256..220a314da0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-07 Kevin P. Fleming + * 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 201c9fd6b5..0208cc1ac8 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;