diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-12-09 23:59:09 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-15 09:10:46 +0000 |
commit | c64c5e0eda98e667de22074d6ea606c655519dc0 (patch) | |
tree | e8eb0c03c46184b3f888467931f0edd51d5df9fd /scripts/bitbake-whatchanged | |
parent | 4955fe19abfde0fd9b4fe5e1f82fd2a148e5db01 (diff) | |
download | poky-c64c5e0eda98e667de22074d6ea606c655519dc0.tar.gz |
runqemu: handle tap device creation failure properly
If we fail to run the command to generate the tap devices then we should
show a reasonable message and then exit, without showing a traceback.
"return 1" at this point in the code does nothing because the caller
doesn't check the return, so just use sys.exit().
(From OE-Core rev: 47e40fdd7dd58bde4e017e2375c16450fcb14eca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/bitbake-whatchanged')
0 files changed, 0 insertions, 0 deletions