mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor bug fix
This commit is contained in:
parent
938716e361
commit
ea00c94648
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ def main():
|
|||
kb.threadException = True
|
||||
|
||||
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
|
||||
if conf.threads > 1:
|
||||
if hasattr(conf, "threads") and conf.threads > 1:
|
||||
os._exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue