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 19:01:23 +0100
commit31abae6c9f15d75bf0b09be212eef35ae124b4a8 (patch)
treedb15c3fd6880af0988e94579e95ac1dec9ce4da7 /luaotfload-database.lua
parentb8f01ab3aa15499ab7f883e9dfce47a235a3e9dd (diff)
downloadluaotfload-31abae6c9f15d75bf0b09be212eef35ae124b4a8.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 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