git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-11-01 21:53:30 +00:00
parent b05e64ed12
commit 7ffb604a2f
26 changed files with 207 additions and 55 deletions

View File

@@ -2048,6 +2048,8 @@ int main(int argc, char *argv[])
ast_verbose("[ Reading Master Configuration ]");
ast_readconfig();
#ifndef __CYGWIN__
if (!is_child_of_nonroot && ast_set_priority(option_highpriority)) {
exit(1);
}
@@ -2083,6 +2085,8 @@ int main(int argc, char *argv[])
ast_verbose("Running as user '%s'\n", runuser);
}
#endif /* __CYGWIN__ */
term_init();
printf(term_end());
fflush(stdout);