]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: Add error handling for unexpected tap devices
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 07:03:49 +0000 (00:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Aug 2015 07:12:43 +0000 (00:12 -0700)
commit4238f3b6e320969aaf539e6afb1cb2bfd61bb28b
tree8bb5f906c519b63c5eb17472c9df9241cc84b5fa
parent5191ab6962712908e1aa1dca0d4253fb278366c2
runqemu: Add error handling for unexpected tap devices

In theory the code reduces the tap device number to an integer. This
patch adds error checking to ensure that does happen and that the script
exits if something unexpected happens.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-internal