mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
interupted syscall
This commit is contained in:
parent
3edc83044e
commit
658cf8336c
@ -207,7 +207,10 @@ class TUNASync(object):
|
||||
signal.signal(signal.SIGUSR2, self.reload_mirrors_force)
|
||||
|
||||
while 1:
|
||||
try:
|
||||
name, status = self.channel.get()
|
||||
except IOError:
|
||||
continue
|
||||
|
||||
if status == "QUIT":
|
||||
print("New configuration applied to {}".format(name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user