summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-01-18 11:37:40 -0800
committersersut <serdar@opscode.com>2013-01-22 10:53:11 -0800
commitef5c0a96d2ac015d98f270570a04630239bf3d43 (patch)
tree9daa03565a5241d9ac22083ad8a324bd0a1a1484 /lib/chef/client.rb
parentd4fe99c6a7ca5a2c5cc9687adb281a580ff2ed73 (diff)
downloadchef-ef5c0a96d2ac015d98f270570a04630239bf3d43.tar.gz
Include windows admin privilege check in chef-solo as well.
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index b2a97ae366..65bc444bbf 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -411,7 +411,7 @@ class Chef
end
def do_windows_admin_check
- if !Chef::Config[:solo] && Chef::Platform.windows?
+ if Chef::Platform.windows?
Chef::Log.debug("Checking for administrator privilages....")
if !has_admin_privilages?