diff options
Diffstat (limited to 'lib/puppet/application/filebucket.rb')
-rw-r--r-- | lib/puppet/application/filebucket.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/puppet/application/filebucket.rb b/lib/puppet/application/filebucket.rb index 095a413a7..8da2d014d 100644 --- a/lib/puppet/application/filebucket.rb +++ b/lib/puppet/application/filebucket.rb @@ -66,9 +66,7 @@ class Puppet::Application::Filebucket < Puppet::Application # Now parse the config Puppet.parse_config - if Puppet.settings.print_configs? - exit(Puppet.settings.print_configs ? 0 : 1) - end + exit(Puppet.settings.print_configs ? 0 : 1) if Puppet.settings.print_configs? require 'puppet/file_bucket/dipper' begin @@ -80,9 +78,7 @@ class Puppet::Application::Filebucket < Puppet::Application end rescue => detail $stderr.puts detail - if Puppet[:trace] - puts detail.backtrace - end + puts detail.backtrace if Puppet[:trace] exit(1) end end |