summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-04-30 16:47:18 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-04-30 16:47:18 -0700
commit1de84c483f992850806caec76cb9863621b139f6 (patch)
treed988fb65e519207a9acfa8a6ec7d6e37b8a2e74b
parent2d7f8a477b68767373068f363f785b84b9b832ae (diff)
parentbbeea431eeb0ab1ef443b9342be8225a567c7a8d (diff)
downloadchef-1de84c483f992850806caec76cb9863621b139f6.tar.gz
Merge pull request #3317 from chef/jdm/winstaller-idempotent
windows_package is idempotent again
-rw-r--r--lib/chef/win32/api/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/api/installer.rb b/lib/chef/win32/api/installer.rb
index 6864a26e7d..b4851eccf1 100644
--- a/lib/chef/win32/api/installer.rb
+++ b/lib/chef/win32/api/installer.rb
@@ -158,7 +158,7 @@ UINT MsiCloseHandle(
raise Chef::Exceptions::Package, msg
end
- version
+ version.chomp(0.chr)
end
end
end