If bitbake called by "devtool build" fails then devtool should return the appropriate return code, but it always returns 0 at the moment.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1bab18f26fe162cc2f577944f02ec3a2d4f01702