changeset 19:f22369c00480 draft

fix double forking Signed-off-by: Changaco <changaco ατ changaco δοτ net>
author Changaco <changaco ατ changaco δοτ net>
date Fri, 27 Apr 2012 02:10:25 +0200
parents 868a339b19f8
children 94f3b22beec9
files feed-push
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/feed-push
+++ b/feed-push
@@ -291,6 +291,7 @@ if __name__ == '__main__':
         pid = os.fork()
         if pid != 0:
             exit(0)
+        os.setsid()
         pid = os.fork()
         if pid != 0:
             global_args.fork.write(str(pid))