]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: scc: Fix process_file error check
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 13 Jan 2017 20:40:38 +0000 (15:40 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:58 +0000 (12:03 +0000)
commit01657e8023ee535420ab5ba4a5d1952e13bce0cd
tree9c75a72087f99fb55dca6c2cc46677644097f717
parent16813b55d1cd624820f955ab752c922f305856e8
kern-tools: scc: Fix process_file error check

    Commit 626ceac135fa66277c2fa53197be33cc9d4d7614 broke the error
    check in process_file by adding in three lines that stomp on $? which
    print the output file when verbose is set.

    Move output file on verbose print to an elif after the error check.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb