diff options
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/puppetrun.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/application/puppetrun.rb b/lib/puppet/application/puppetrun.rb index 42f02c796..59ace826a 100644 --- a/lib/puppet/application/puppetrun.rb +++ b/lib/puppet/application/puppetrun.rb @@ -135,8 +135,8 @@ Puppet::Application.new(:puppetrun) do end case result - when "success": exit(0) - when "running": + when "success"; exit(0) + when "running" $stderr.puts "Host %s is already running" % host exit(3) else |
