summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-03 18:57:31 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-03 18:57:31 +0100
commit9f82c13da530870d8d6114cf4f4b28c89bb39544 (patch)
treeb49cff659e20b451b027c7ef41a3fb23984e8bc6 /luaotfload-database.lua
parent3220fd09a4f97680849047211dab5588c8b33e97 (diff)
downloadluaotfload-9f82c13da530870d8d6114cf4f4b28c89bb39544.tar.gz
[db] fix test for successful update
Diffstat (limited to 'luaotfload-database.lua')
-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