diff --git a/python/Resource.py b/python/Resource.py index 2d127e7..f80ce0e 100644 --- a/python/Resource.py +++ b/python/Resource.py @@ -362,7 +362,7 @@ def run(self): pass try: with open(conf.watch_directory+'/quarantined'+rnsuffix,'w+') as fp: - pass + self.quarantined = False except Exception as ex: self.logger.exception(ex) diff --git a/python/Run.py b/python/Run.py index 5641c74..94d09a9 100644 --- a/python/Run.py +++ b/python/Run.py @@ -767,7 +767,8 @@ def checkQuarantinedLimit(self): for r in self.online_resource_list: try: if r.watchdog.quarantined==False or r.processstate==100:allQuarantined=False - except: + except Exception as ex: + self.logger.warning(str(ex)) allQuarantined=False if allQuarantined==True: return True diff --git a/scripts/hltdrpm.sh b/scripts/hltdrpm.sh index c2f6217..b2d46d7 100755 --- a/scripts/hltdrpm.sh +++ b/scripts/hltdrpm.sh @@ -209,7 +209,7 @@ cd $TOPDIR cat > hltd.spec <