diff options
author | Mika Havela <mika.havela@gmail.com> | 2009-07-07 12:23:16 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2009-07-07 12:23:16 +0000 |
commit | 4000a354bdabce4cfaaac2c672a689d9bab8b910 (patch) | |
tree | 98875ab46f98293e7f9738931be71b79bdc2406f /rrdtool-model.lua | |
parent | 2ce8959da8f8a53d95bcee0197b42e1c642cb630 (diff) | |
download | acf-rrdtool-4000a354bdabce4cfaaac2c672a689d9bab8b910.tar.bz2 acf-rrdtool-4000a354bdabce4cfaaac2c672a689d9bab8b910.tar.xz |
Display error message when a rrd DB has been created on other architecture
Diffstat (limited to 'rrdtool-model.lua')
-rw-r--r-- | rrdtool-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |