Skip to content
Snippets Groups Projects
Commit cf95f3a1 authored by Doug Bailey's avatar Doug Bailey
Browse files

Merged revisions 189664 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r189664 | dbailey | 2009-04-21 10:52:13 -0500 (Tue, 21 Apr 2009) | 2 lines
  
  Remove daemon call on systems that do not support forking.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@189665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f431c867
No related branches found
No related tags found
No related merge requests found
......@@ -684,6 +684,7 @@ int main(int argc, char *argv[])
fclose(astf);
exit(1);
}
#if HAVE_WORKING_FORK
if (needfork) {
#ifndef HAVE_SBIN_LAUNCHD
if (daemon(0,0) < 0) {
......@@ -695,6 +696,7 @@ int main(int argc, char *argv[])
exit(1);
#endif
}
#endif
for(;;) {
if (wait_event()) {
fclose(astf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment