Continue if user chooses not to update + db exists
This commit is contained in:
@@ -59,8 +59,10 @@ 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?
|
||||||
exit(1)
|
puts critical('You can not run a scan without any databases.')
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user