Removed unnecessary sprintf call from puppet-check.
This commit is contained in:
parent
4008a12d59
commit
160f43ee28
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ begin
|
||||||
pid = File.new(pidfile, "r").read.to_i
|
pid = File.new(pidfile, "r").read.to_i
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
err = sprintf("puppetd not running on host '%s'\n", Socket.gethostname)
|
err = sprintf("puppetd not running on host '%s'\n", Socket.gethostname)
|
||||||
Syslog.info sprintf(err)
|
Syslog.info err
|
||||||
print err
|
print err
|
||||||
Syslog.close
|
Syslog.close
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Reference in a new issue