mirror of
				https://github.com/bashclub/check-opnsense.git
				synced 2025-11-03 21:02:26 +01:00 
			
		
		
		
	Fix print of parameters and pid
This commit is contained in:
		@@ -1702,8 +1702,8 @@ if __name__ == "__main__":
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if SYSHOOK_METHOD and any(_active_methods) == False:
 | 
					    if SYSHOOK_METHOD and any(_active_methods) == False:
 | 
				
			||||||
        setattr(args,SYSHOOK_METHOD[0],True)
 | 
					        setattr(args,SYSHOOK_METHOD[0],True)
 | 
				
			||||||
    pprint(args.__dict__)
 | 
					    #pprint(args.__dict__)
 | 
				
			||||||
    pprint(_pid)
 | 
					    #pprint(_pid)
 | 
				
			||||||
    if args.start:
 | 
					    if args.start:
 | 
				
			||||||
        if _pid > 0:
 | 
					        if _pid > 0:
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user