]> git.e2factory.org Git - e2factory.git/commitdiff
Remove call to e2lib.bomb()
authorTobias Ulmer <tu@emlix.com>
Fri, 12 Jul 2013 14:55:26 +0000 (16:55 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:01:23 +0000 (15:01 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2-help.lua

index ea5e55bf6e77c6eae936071ade9ea7e722126321..da78a70b9c277a8587752491ec53f94be1be082f 100644 (file)
@@ -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)