From 31abae6c9f15d75bf0b09be212eef35ae124b4a8 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 3 Nov 2013 18:57:31 +0100 Subject: [db] fix test for successful update --- luaotfload-database.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 6c52b5e..aa1370f 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -477,7 +477,7 @@ load_names = function (dry_run) [[This can take several minutes; please be patient.]]) data = update_names (initialize_namedata (get_font_filter ()), nil, dry_run) - if not success then + if not data then report ("both", 0, "db", "Database creation unsuccessful.") end end -- cgit v1.2.3