summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-10-15 09:34:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-16 14:13:23 +0100
commit320d05ea9fd353879e5e77ed97a21d76dd510210 (patch)
tree8d2dc1cc5c133aa7acc2a4edf99a12c0510c8ea2 /bitbake/lib/toaster
parent2e2e40c2c41a69483596fc35e49b87491ee80fdc (diff)
downloadpoky-320d05ea9fd353879e5e77ed97a21d76dd510210.tar.gz
bitbake: toaster: exit or return depending on the mode
When toaster script is sourced 'return' should be used as using 'exit' will cause script to exit the shell and close terminal window. If script is called 'exit' should be used. Otherwise shell will throw and error: return: can only `return' from a function or sourced script Used 'return' or 'exit' depending on the toaster mode using TOASTER_MANAGED variable. (Bitbake rev: 643c42069a2788e9f40fa1bc9845f32aed3d096c) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
0 files changed, 0 insertions, 0 deletions