]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
prserv/serv: Fix pid file removal
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 16:41:53 +0000 (16:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 16:43:36 +0000 (17:43 +0100)
Mark Hatle spotted there were pid files being left around. This patch
fixes things so the removal function is called correctly, the code
contained a typo.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/prserv/serv.py

index 7f9331d13b1b7fe393c78174fd98fef76044f4b2..b854686c1aa47b611355eed89b5a828b3c3255d5 100644 (file)
@@ -157,7 +157,7 @@ class PRServer(SimpleXMLRPCServer):
         pf.close()
 
         self.work_forever()
-        self.delpid
+        self.delpid()
         os._exit(0)
 
 class PRServSingleton():