diff options
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/application/base.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/application/base.rb b/lib/chef/application/base.rb index 7365ecadec..770b06e9d0 100644 --- a/lib/chef/application/base.rb +++ b/lib/chef/application/base.rb @@ -254,13 +254,7 @@ class Chef::Application::Base < Chef::Application short: "-K KEY_FILE", long: "--validation_key KEY_FILE", description: "Set the validation key file location, used for registering new clients.", - proc: lambda { |argument| - if File.exist?(File.expand_path(argument)) - File.expand_path(argument) - else - argument - end - } + proc: lambda { |argument| File.expand_path(argument) } option :client_key, short: "-k KEY_FILE", |