diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-05-01 21:48:30 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-05-01 21:48:30 +0000 |
commit | aeed5ca05df4b545743eacab54a88c2ab36fb449 (patch) | |
tree | 317d5d5181b5da608cf7e45510e280defad7fc74 /asterisk.c | |
parent | e635b463fc7130e0a989b4787b26603787180d1c (diff) |
Merged revisions 24019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r24019 | tilghman | 2006-05-01 15:44:24 -0500 (Mon, 01 May 2006) | 2 lines
Bug 6864 - drop realtime priority on ALL external processes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'asterisk.c')
-rw-r--r-- | asterisk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c index db5bf122c..e256d3f07 100644 --- a/asterisk.c +++ b/asterisk.c @@ -635,6 +635,8 @@ int ast_safe_system(const char *s) pid = fork(); if (pid == 0) { + if (ast_opt_high_priority) + ast_set_priority(0); /* Close file descriptors and launch system command */ for (x = STDERR_FILENO + 1; x < 4096; x++) close(x); |