From: Tobias Ulmer Date: Fri, 12 Jul 2013 14:55:26 +0000 (+0200) Subject: Remove call to e2lib.bomb() X-Git-Tag: e2factory-2.3.15rc1~465 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=d7439f0de985a72b21d744ab189427fbf5519003;p=e2factory.git Remove call to e2lib.bomb() Signed-off-by: Tobias Ulmer --- diff --git a/local/e2-help.lua b/local/e2-help.lua index ea5e55b..da78a70 100644 --- a/local/e2-help.lua +++ b/local/e2-help.lua @@ -218,7 +218,7 @@ local function display_doc(documentation, doc_name) if founddoc.doctype == doctype.MAN then display_man_page(founddoc) else - e2lib.bomb(string.format("unhandled doctype: %d", founddoc.doctype)) + return false, err.new("unhandled doctype: %d", founddoc.doctype) end else return false, err.new("More than one document matches '%s'", doc_name)