updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ufw-frontends-gtk / messages.patch
blobc07824e0199332d96cfb5cd9b66eae3e3086e91b
1 diff -aur ufw-frontends-0.3.1/gfw/event.py ufw-frontends-0.3.1.new/gfw/event.py
2 --- ufw-frontends-0.3.1/gfw/event.py 2011-09-10 20:36:28.000000000 -0600
3 +++ ufw-frontends-0.3.1.new/gfw/event.py 2011-10-13 08:34:43.726485576 -0600
4 @@ -67,7 +67,7 @@
5 try:
6 self._log = open('/var/log/ufw.log', 'r')
7 except IOError:
8 - self._log = open('/var/log/messages', 'r')
9 + self._log = open('/var/log/messages.log', 'r')
10 handler = EventHandler(log=self._log, callback=callback)
11 wm = pyinotify.WatchManager()
12 wm.add_watch(self._log.name, pyinotify.IN_MODIFY)