From 49a9226d836500d302066948a3a4c9a55e1d3653 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 2 Apr 2009 13:39:52 +0200 Subject: [PATCH] awful.prompt: close file after reading Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index 18b1fd674..b0d54e78f 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -46,6 +46,7 @@ local function history_check_load(id, max) break end end + f:close() end end end