Merge pull request #835 from zytek/master

Display correct pid of already running instance
This commit is contained in:
Randall Leeds 2014-07-30 23:09:16 -07:00
commit 622488155a

View File

@ -25,7 +25,7 @@ class Pidfile(object):
if oldpid == os.getpid():
return
raise RuntimeError("Already running on PID %s " \
"(or pid file '%s' is stale)" % (os.getpid(), self.fname))
"(or pid file '%s' is stale)" % (oldpid, self.fname))
self.pid = pid