[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 3a39dd8353b6308cf49522990104cc63e55d7cda
James Turnbull
james at lovedthanlost.net
Fri Jan 29 17:22:09 UTC 2010
The following commit has been merged in the upstream branch:
commit 9bc174faffcdb412e07e2dde1686cdec9a4d638c
Author: James Turnbull <james at lovedthanlost.net>
Date: Sat Feb 28 09:28:47 2009 +1100
Further fix #2032 - close IO
diff --git a/lib/facter/util/uptime.rb b/lib/facter/util/uptime.rb
index ebba275..76c4464 100644
--- a/lib/facter/util/uptime.rb
+++ b/lib/facter/util/uptime.rb
@@ -16,6 +16,7 @@ module Facter::Util::Uptime
def self.get_uptime
r = IO.popen("/bin/cat /proc/uptime")
uptime, idletime = r.readline.split(" ")
+ r.close
uptime_seconds = uptime.to_i
end
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list