Continue if user chooses not to update + db exists

This commit is contained in:
ethicalhack3r
2015-06-03 16:42:23 +02:00
parent bdd6b9727d
commit 3d6e5b2b9e

View File

@@ -59,10 +59,12 @@ def main
puts 'Scan aborted' puts 'Scan aborted'
exit(1) exit(1)
else else
puts critical('You can not run a scan without any databases.') if missing_db_file? if missing_db_file?
puts critical('You can not run a scan without any databases.')
exit(1) exit(1)
end end
end end
end
if wpscan_options.update if wpscan_options.update
puts notice('Updating the Database ...') puts notice('Updating the Database ...')