Skip to content

Commit 3a030b2

Browse files
committed
Merge branch 'bug/rm7852' of github.com:bturner-r7/metasploit-framework into bturner-r7-bug/rm7852
2 parents 6b89693 + 100da88 commit 3a030b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msfupdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def apt_upgrade_available(package)
8484
require 'open3'
8585
installed = nil
8686
upgrade = nil
87-
::Open3.popen3("apt-cache", "policy", package) do |stdin, stdout, stderr|
87+
::Open3.popen3({'LANG'=>'en_US.UTF-8'}, "apt-cache", "policy", package) do |stdin, stdout, stderr|
8888
stdout.each do |line|
8989
installed = $1 if line =~ /Installed: ([\w\-+.:~]+)$/
9090
upgrade = $1 if line =~ /Candidate: ([\w\-+.:~]+)$/

0 commit comments

Comments
 (0)