[Asterisk-cvs] asterisk ChangeLog,1.59,1.60 asterisk.c,1.192,1.193

kpfleming kpfleming
Mon Nov 7 21:28:48 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv14938

Modified Files:
	ChangeLog asterisk.c 
Log Message:
issue #5581


Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- ChangeLog	8 Nov 2005 02:14:42 -0000	1.59
+++ ChangeLog	8 Nov 2005 02:19:53 -0000	1.60
@@ -1,5 +1,7 @@
 2005-11-07  Kevin P. Fleming  <kpfleming at 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: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- asterisk.c	8 Nov 2005 01:29:14 -0000	1.192
+++ asterisk.c	8 Nov 2005 02:19:53 -0000	1.193
@@ -2061,9 +2061,8 @@
 		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;




More information about the svn-commits mailing list