[asterisk-commits] dbailey: branch 1.4 r189664 - /branches/1.4/utils/muted.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 21 10:52:27 CDT 2009
Author: dbailey
Date: Tue Apr 21 10:52:13 2009
New Revision: 189664
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189664
Log:
Remove daemon call on systems that do not support forking.
Modified:
branches/1.4/utils/muted.c
Modified: branches/1.4/utils/muted.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/utils/muted.c?view=diff&rev=189664&r1=189663&r2=189664
==============================================================================
--- branches/1.4/utils/muted.c (original)
+++ branches/1.4/utils/muted.c Tue Apr 21 10:52:13 2009
@@ -684,6 +684,7 @@
fclose(astf);
exit(1);
}
+#if HAVE_WORKING_FORK
if (needfork) {
#ifndef HAVE_SBIN_LAUNCHD
if (daemon(0,0) < 0) {
@@ -695,6 +696,7 @@
exit(1);
#endif
}
+#endif
for(;;) {
if (wait_event()) {
fclose(astf);
More information about the asterisk-commits
mailing list