From 160f43ee283e5fbbf4367819d344ae8012474952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 14 Jun 2012 09:25:55 +0300 Subject: [PATCH] Removed unnecessary sprintf call from puppet-check. --- puppet/files/puppet-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/files/puppet-check b/puppet/files/puppet-check index 9b63cd2..5518d6e 100755 --- a/puppet/files/puppet-check +++ b/puppet/files/puppet-check @@ -23,7 +23,7 @@ begin pid = File.new(pidfile, "r").read.to_i rescue Errno::ENOENT err = sprintf("puppetd not running on host '%s'\n", Socket.gethostname) - Syslog.info sprintf(err) + Syslog.info err print err Syslog.close exit