Skip to content

Commit 78a5125

Browse files
committed
Better place for setting flags
1 parent 1f01d60 commit 78a5125

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
@@ -188,12 +188,12 @@ def main():
188188
pass
189189

190190
finally:
191-
if conf.get("showTime"):
192-
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
193-
194191
kb.threadContinue = False
195192
kb.threadException = True
196193

194+
if conf.get("showTime"):
195+
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
196+
197197
if kb.get("tempDir"):
198198
shutil.rmtree(kb.tempDir, ignore_errors=True)
199199

0 commit comments

Comments
 (0)