From 6eaf632495bcd4a22f3e1067e0f76b7b512a85f4 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 60e321f..c160121 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -1414,7 +1414,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