mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
minor update
This commit is contained in:
parent
366e86c560
commit
08071f42d0
1 changed files with 2 additions and 1 deletions
|
|
@ -155,8 +155,9 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
|
|||
print
|
||||
kb.threadContinue = False
|
||||
kb.threadException = True
|
||||
logger.info("waiting for threads to finish (Ctrl+C was pressed)")
|
||||
|
||||
if numThreads > 1:
|
||||
logger.info("waiting for threads to finish (Ctrl+C was pressed)")
|
||||
try:
|
||||
while (threading.activeCount() > 1):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue