We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66cc00 commit a53341fCopy full SHA for a53341f
modules/post/multi/gather/dbvis_enum.rb
@@ -63,10 +63,19 @@ def run
63
end
64
65
unless file?(dbvis_file)
66
- print_error("File not found: #{dbvis_file}")
67
- return
+ print_status("File not found: #{dbvis_file}")
+ print_status("This could be an older version of dbvis, trying old path")
68
+ when /linux/
69
+ dbvis_file = "#{user_base}.dbvis/config/dbvis.xml"
70
+ when /win/
71
+ dbvis_file = user_profile + "\\.dbvis\\config\\dbvis.xml"
72
+ end
73
+ unless file?(dbvis_file)
74
+ print_error("File not found: #{dbvis_file}")
75
+ return
76
77
-
78
+
79
db = {}
80
print_status("Reading: #{dbvis_file}")
81
dbfound = false
0 commit comments