diff options
Diffstat (limited to 'lib/puppet/daemon.rb')
-rwxr-xr-x | lib/puppet/daemon.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/daemon.rb b/lib/puppet/daemon.rb index 7e2fc7555..b0c2b56ea 100755 --- a/lib/puppet/daemon.rb +++ b/lib/puppet/daemon.rb @@ -14,12 +14,12 @@ class Puppet::Daemon # Put the daemon into the background. def daemonize - if pid = fork() + if pid = fork Process.detach(pid) exit(0) end - create_pidfile() + create_pidfile # Get rid of console logging Puppet::Util::Log.close(:console) @@ -108,7 +108,7 @@ class Puppet::Daemon server.stop if server - remove_pidfile() + remove_pidfile Puppet::Util::Log.close_all |