mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user