Skip to content

Commit ab3ff02

Browse files
committed
Minor patch
1 parent 2280cd1 commit ab3ff02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlmap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ def main():
191191
if conf.get("showTime"):
192192
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
193193

194-
if kb.get("tempDir"):
195-
shutil.rmtree(kb.tempDir, ignore_errors=True)
196-
197194
kb.threadContinue = False
198195
kb.threadException = True
199196

197+
if kb.get("tempDir"):
198+
shutil.rmtree(kb.tempDir, ignore_errors=True)
199+
200200
if conf.get("hashDB"):
201201
try:
202202
conf.hashDB.flush(True)

0 commit comments

Comments
 (0)