From a537c457fa3490f6028c38374601689dce60fe86 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 27 May 2013 17:24:46 +0200 Subject: fix bug that erased the db when suppressing updates --- luaotfload-database.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 25c136b..0f2f8dd 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -1425,7 +1425,7 @@ update_names = function (fontnames, force, dry_run) report("info", 2, "db", "skipping database update") --- skip all db updates - return fontnames + return fontnames or names.data end local starttime = os.gettimeofday() local n_scanned, n_new = 0, 0 -- cgit v1.2.3