Commit cf779617 authored by Seblu's avatar Seblu
Browse files

Allow SIGHUP during package build

parent 34946a4e
Loading
Loading
Loading
Loading
+74 −74
Original line number Diff line number Diff line
@@ -318,6 +318,7 @@ class Aurbot(object):
		''' start the bot loop
		'''
		while True:
			try:
				# reload package list
				self.parse_config()
				next_checks = set()
@@ -394,7 +395,6 @@ class Aurbot(object):
				# len(next_checks) is 0 when there is no package configured
				timeout = min(next_checks) if len(next_checks) > 0 else DEFAULT_CHECK_INTERVAL
				debug("waiting for %ds" % timeout)
			try:
				sleep(timeout)
			except InterruptedError:
				pass