summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-export-rootfs
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2019-12-09 23:59:09 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-15 09:10:46 +0000
commitc64c5e0eda98e667de22074d6ea606c655519dc0 (patch)
treee8eb0c03c46184b3f888467931f0edd51d5df9fd /scripts/runqemu-export-rootfs
parent4955fe19abfde0fd9b4fe5e1f82fd2a148e5db01 (diff)
downloadpoky-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/runqemu-export-rootfs')
0 files changed, 0 insertions, 0 deletions