From 3b4987a32b55ff7da10ea0734eae0c67f6bc7624 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 4 Oct 2016 09:20:21 -0700 Subject: ref-manual: Added note about bb.fatal() raising an exception. Fixes [YOCTO #10363] Added a small note to the bullet item about bb.fatal(). Noted that the function raises an exception so the user does not have to put a "return" statement after the function call. (From yocto-docs rev: c27bae87192b7e109d995679c8c91fb3388d8d4c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index 36525c47b0..f7345547c5 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -902,6 +902,11 @@ This logging function is similar to bb.error(msg) but also causes the calling task to fail. + + bb.fatal() raises an exception, + which means you do not need to put a "return" + statement after the function. + -- cgit v1.2.3-54-g00ecf