Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4736d46

Browse files
committed
just in case..
1 parent 03d2c9c commit 4736d46

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
from lib.core.subprocessng import pollProcess
2323

2424
def update():
25+
if not conf.updateAll:
26+
return
27+
2528
errMsg = "sqlmap is now hosted on GitHub at https://github.com/sqlmapproject/sqlmap. "
2629
errMsg += "The --update switch is currently outdated and not working. Please, "
2730
errMsg += "update sqlmap running 'git pull' for the time being"
2831
raise sqlmapUnsupportedFeatureException, errMsg
2932

30-
if not conf.updateAll:
31-
return
32-
3333
rootDir = paths.SQLMAP_ROOT_PATH
3434

3535
infoMsg = "updating sqlmap to latest development version from the "

0 commit comments

Comments
 (0)