diff options
author | John Keiser <jkeiser@opscode.com> | 2013-10-16 10:20:04 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-16 13:53:37 -0700 |
commit | a2e417039fd2850a4bc722c2ec2db9c9c36fca73 (patch) | |
tree | 8854170f0ef959ff653d1175baae6d9ad81ac061 /lib/chef/knife.rb | |
parent | 6f8ca6c27c0987fdfbbbb8e19cac69fa6a389c9e (diff) | |
download | chef-a2e417039fd2850a4bc722c2ec2db9c9c36fca73.tar.gz |
Flip config_missing? to return true when missing
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 5d455f9b24..a7b2b27985 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -412,7 +412,7 @@ class Chef # Don't try to load a knife.rb if it wasn't specified. if config[:config_file] fetcher = Chef::ConfigFetcher.new(config[:config_file], Chef::Config.config_file_jail) - if fetcher.config_missing?(config[:config_file]) + if fetcher.config_missing? ui.error("Specified config file #{config[:config_file]} does not exist#{Chef::Config.config_file_jail ? " or is not under config file jail #{Chef::Config.config_file_jail}" : ""}!") exit 1 end |