diff options
Diffstat (limited to 'lib/chef/provider/package/pacman.rb')
-rw-r--r-- | lib/chef/provider/package/pacman.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb index a9ff0edf7f..4963d1910c 100644 --- a/lib/chef/provider/package/pacman.rb +++ b/lib/chef/provider/package/pacman.rb @@ -34,7 +34,6 @@ class Chef Chef::Log.debug("#{@new_resource} checking pacman for #{@new_resource.package_name}") status = popen4("pacman -Qi #{@new_resource.package_name}") do |pid, stdin, stdout, stderr| stdout.each do |line| - line.force_encoding(Encoding::UTF_8) if line.respond_to?(:force_encoding) case line when /^Version(\s?)*: (.+)$/ Chef::Log.debug("#{@new_resource} current version is #{$2}") |