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,8 +59,10 @@ def main
puts 'Scan aborted'
exit(1)
else
puts critical('You can not run a scan without any databases.') if missing_db_file?
exit(1)
if missing_db_file?
puts critical('You can not run a scan without any databases.')
exit(1)
end
end
end