summarylogtreecommitdiffstats
path: root/fix-signal-handling.patch
diff options
context:
space:
mode:
authorOndrej Patrovic2016-06-22 09:12:49 -0400
committerOndrej Patrovic2016-06-22 09:12:49 -0400
commit7d4ecaa2787203c9600253d39cfb112cd3fa19cc (patch)
treee386ca6d822ce18355840b6faf2c382115cb23f6 /fix-signal-handling.patch
parent522f797b4b651f1e0c988f0198087d4481e92c04 (diff)
downloadaur-sickgear-git.tar.gz
* Set SickGear git origin to allow updates
* Fix daemon-reload on install * Fix typo on PKGBUILD prepare section
Diffstat (limited to 'fix-signal-handling.patch')
-rw-r--r--fix-signal-handling.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/fix-signal-handling.patch b/fix-signal-handling.patch
index cc219ae8967..3520787099a 100644
--- a/fix-signal-handling.patch
+++ b/fix-signal-handling.patch
@@ -1,14 +1,14 @@
---- a/sickgear/sickbeard/__init__.py
-+++ b/sickgear/sickbeard/__init__.py
+--- a/sickbeard/__init__.py
++++ b/sickbeard/__init__.py
@@ -1339,9 +1339,8 @@
-
-
+
+
def sig_handler(signum=None, frame=None):
- if isinstance(signum, type(None)):
- logger.log(u'Signal %i caught, saving and exiting...' % int(signum))
- events.put(events.SystemEvent.SHUTDOWN)
+ logger.log(u'Signal %i caught, saving and exiting...' % int(signum))
+ events.put(events.SystemEvent.SHUTDOWN)
-
-
+
+
def save_all():