Ticket #40121: patch-fail2ban-client.diff
File patch-fail2ban-client.diff, 667 bytes (added by nonstop.server@…, 11 years ago) |
---|
-
fail2ban-client
old new 30 30 try: 31 31 from common.version import version 32 32 except ImportError, e: 33 sys.path.insert(1, " /usr/share/fail2ban")33 sys.path.insert(1, "@@PREFIX@@/share/fail2ban") 34 34 from common.version import version 35 35 36 36 # Now we can import the rest of modules … … 56 56 self.__stream = None 57 57 self.__configurator = Configurator() 58 58 self.__conf = dict() 59 self.__conf["conf"] = " /etc/fail2ban"59 self.__conf["conf"] = "@@PREFIX@@/etc/fail2ban" 60 60 self.__conf["dump"] = False 61 61 self.__conf["force"] = False 62 62 self.__conf["verbose"] = 1