summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaotfload-database.lua2
1 files changed, 1 insertions, 1 deletions
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