From 4000a354bdabce4cfaaac2c672a689d9bab8b910 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 7 Jul 2009 12:23:16 +0000 Subject: Display error message when a rrd DB has been created on other architecture --- rrdtool-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rrdtool-model.lua') diff --git a/rrdtool-model.lua b/rrdtool-model.lua index 3be5a25..fa47e02 100644 --- a/rrdtool-model.lua +++ b/rrdtool-model.lua @@ -134,7 +134,7 @@ end function rrd_info(self, path, userid) local success, errtxt if (validfilename(path)) then - local f = io.popen( "/usr/bin/rrdtool info ".. tostring(path) ) + local f = io.popen( "/usr/bin/rrdtool info ".. tostring(path) .. " 2>&1" ) success = f:read("*a") or "" f:close() end -- cgit v1.2.3