Skip to content

Commit b8429cb

Browse files
h00diejvoisin
andauthored
Update lib/msf/core/post/linux/packages.rb
Co-authored-by: Julien Voisin <[email protected]>
1 parent 29cb441 commit b8429cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/post/linux/packages.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def installed_package_version(package)
1717

1818
if ['debian', 'ubuntu'].include?(info[:distro])
1919
package_version = cmd_exec("dpkg-query -f='${Version}' -W #{package}")
20-
# The "no package" error is language based, but dpkg-query: starting is not
20+
# The "no package" error is language based, but "dpkg-query:" starting is not
2121
return nil if package_version.start_with?('dpkg-query:')
2222

2323
package_version = package_version.gsub('+', '.')

0 commit comments

Comments
 (0)