3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

pylink: fix last commit (args.no_check_pid)

This commit is contained in:
James Lu 2016-11-16 21:52:07 -08:00 committed by GitHub
parent 7c93a6cdfc
commit 57f7acc124

2
pylink
View File

@ -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 "