minor fix

This commit is contained in:
Miroslav Stampar 2010-12-29 20:26:36 +00:00
parent 613242e298
commit 2476c1516d

View File

@ -30,6 +30,7 @@ from lib.core.common import getUnicode
from lib.core.common import setPaths
from lib.core.common import weAreFrozen
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
from lib.core.data import paths
from lib.core.exception import exceptionsTuple
@ -113,6 +114,10 @@ def main():
else:
closeDumper(True)
finally:
kb.threadContinue = False
kb.threadException = True
dataToStdout("\n[*] shutting down at: %s\n\n" % time.strftime("%X"), forceOutput=True)
if __name__ == "__main__":