Skip to content

Commit 651349e

Browse files
committed
More verbose critical message
1 parent 062c156 commit 651349e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/option.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,8 +1736,8 @@ def __basicOptionValidation():
17361736
errMsg = "switch --regexp is incompatible with switch --null-connection"
17371737
raise sqlmapSyntaxException, errMsg
17381738

1739-
if conf.predictOutput and conf.threads > 1:
1740-
errMsg = "switch --predict-output is incompatible with switch --threads"
1739+
if conf.predictOutput and (conf.threads > 1 or conf.optimize):
1740+
errMsg = "switch --predict-output is incompatible with switch --threads and -o"
17411741
raise sqlmapSyntaxException, errMsg
17421742

17431743
if conf.threads > MAX_NUMBER_OF_THREADS:

0 commit comments

Comments
 (0)