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 29cb441 commit b8429cbCopy full SHA for b8429cb
lib/msf/core/post/linux/packages.rb
@@ -17,7 +17,7 @@ def installed_package_version(package)
17
18
if ['debian', 'ubuntu'].include?(info[:distro])
19
package_version = cmd_exec("dpkg-query -f='${Version}' -W #{package}")
20
- # The "no package" error is language based, but dpkg-query: starting is not
+ # The "no package" error is language based, but "dpkg-query:" starting is not
21
return nil if package_version.start_with?('dpkg-query:')
22
23
package_version = package_version.gsub('+', '.')
0 commit comments