Отключение буферизации штатными средствами lua.
[weathermon.git] / bin / weathermon-iio
index df32c3ad5849bc90d793f4379aa76b61667f1da0..cbf21f0c996fc984e7fe9c5fc20466c233ab00b3 100755 (executable)
@@ -188,6 +188,8 @@ if not delay then
   delay = 60
 end
 
+io.stdout:setvbuf('no')
+
 while true do
   if pcall(function () values = get_parameters(parameters) end) then
     records = {}