]> code.delx.au - monosys/commitdiff
Fixed proxy.py forking mode
authorJames Bunton <jamesbunton@fastmail.fm>
Tue, 24 Mar 2009 21:10:03 +0000 (08:10 +1100)
committerJames Bunton <jamesbunton@fastmail.fm>
Tue, 24 Mar 2009 21:10:03 +0000 (08:10 +1100)
scripts/proxy.py

index 0f314ae43430f9bff464678e91f50ec30f9c8fa6..f04b4baf4a2f2fc2ddd46c55ad0574bb21be2d44 100755 (executable)
@@ -357,7 +357,7 @@ if __name__ == "__main__":
                if os.fork() == 0:
                        # We are the child
                        try:
-                               sys.exit(main(listen_port, host, port, allowed))
+                               sys.exit(main(listen_port, host, port, mode, allowed))
                        except KeyboardInterrupt:
                                print
                        sys.exit(0)