[asterisk-commits] dbailey: trunk r189665 - in /trunk: ./ utils/muted.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 21 10:54:19 CDT 2009
Author: dbailey
Date: Tue Apr 21 10:54:16 2009
New Revision: 189665
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189665
Log:
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.
........
Modified:
trunk/ (props changed)
trunk/utils/muted.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/utils/muted.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/utils/muted.c?view=diff&rev=189665&r1=189664&r2=189665
==============================================================================
--- trunk/utils/muted.c (original)
+++ trunk/utils/muted.c Tue Apr 21 10:54:16 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