Author: dmeyer
Date: Mon Jan 30 20:06:57 2006
New Revision: 7905

Modified:
   trunk/ui/bin/freevo

Log:
ugly hack to make -daemon work from init

Modified: trunk/ui/bin/freevo
==============================================================================
--- trunk/ui/bin/freevo (original)
+++ trunk/ui/bin/freevo Mon Jan 30 20:06:57 2006
@@ -141,7 +141,10 @@
     """
     start a process
     """
-    uid = os.fork()
+    if '-daemon' in arg:
+        uid = 0
+    else:
+        uid = os.fork()
     if uid:
         if store:
             try:


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to