mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 23:15:59 +00:00
merge markster's usersconf branch with some slight changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -649,10 +649,14 @@ int ast_safe_system(const char *s)
|
||||
struct rusage rusage;
|
||||
int status;
|
||||
|
||||
#if HAVE_WORKING_FORK
|
||||
ast_replace_sigchld();
|
||||
#if defined(HAVE_WORKING_FORK) || defined(HAVE_WORKING_VFORK)
|
||||
ast_replace_sigchld();
|
||||
|
||||
#ifdef HAVE_WORKING_VFORK
|
||||
pid = vfork();
|
||||
#else
|
||||
pid = fork();
|
||||
#endif
|
||||
|
||||
if (pid == 0) {
|
||||
if (ast_opt_high_priority)
|
||||
|
||||
Reference in New Issue
Block a user