summaryrefslogtreecommitdiff
path: root/chef/lib/chef/application
diff options
context:
space:
mode:
authorsdelano <stephen@opscode.com>2010-06-02 08:39:00 -0700
committerDaniel DeLeo <dan@opscode.com>2010-06-03 12:22:14 -0700
commit84b3de73fdb2a8f7d8ce63bac668125bffc629f3 (patch)
tree49c660f70d54e09094703ef64f8198581beafef1 /chef/lib/chef/application
parentf8e1e6d36790d38512c4f911427cc560ddf2ecf6 (diff)
downloadchef-84b3de73fdb2a8f7d8ce63bac668125bffc629f3.tar.gz
knife needs to exit with 0
Diffstat (limited to 'chef/lib/chef/application')
-rw-r--r--chef/lib/chef/application/knife.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/lib/chef/application/knife.rb b/chef/lib/chef/application/knife.rb
index c1c1790acd..431c8689ef 100644
--- a/chef/lib/chef/application/knife.rb
+++ b/chef/lib/chef/application/knife.rb
@@ -113,6 +113,7 @@ class Chef::Application::Knife < Chef::Application
validate_and_parse_options
knife = Chef::Knife.find_command(ARGV, self.class.options)
knife.run
+ exit 0
end
private