mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +01:00
pylink: fix last commit (args.no_check_pid)
This commit is contained in:
parent
7c93a6cdfc
commit
57f7acc124
2
pylink
2
pylink
@ -38,7 +38,7 @@ if __name__ == '__main__':
|
||||
|
||||
# Check for a pid file, unless told not to,
|
||||
# this stops instance overlap, which wrecks clientbots
|
||||
if not args.no_checkpid:
|
||||
if not args.no_check_pid:
|
||||
config = conf.confname
|
||||
if os.path.exists("%s.pid" % config):
|
||||
log.error("PID file exists; aborting! If PyLink didn't shut down cleanly last time it "
|
||||
|
Loading…
Reference in New Issue
Block a user