From 9f82c13da530870d8d6114cf4f4b28c89bb39544 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 1b20a84..34c06d1 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -419,7 +419,7 @@ load_names = function (dry_run) [[This can take several minutes; please be patient.]]) data = update_names (fontnames_init (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