diff options
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 5e1423e86..c62442d09 100644 --- a/asterisk.c +++ b/asterisk.c @@ -443,6 +443,8 @@ int ast_safe_system(const char *s) pid = fork(); if (pid == 0) { + if (option_highpriority) + ast_set_priority(0); /* Close file descriptors and launch system command */ for (x = STDERR_FILENO + 1; x < 4096; x++) close(x); |