issue #5581
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 02:19:53 +0000 (02:19 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 02:19:53 +0000 (02:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7014 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
asterisk.c

index 39f4f53..220a314 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
index 201c9fd..0208cc1 100755 (executable)
@@ -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;