]> code.ossystems Code Review - openembedded-core.git/commit
mkefidisk.sh: fix hanging on non-writeable device
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 21 Apr 2015 13:01:55 +0000 (14:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 May 2015 17:12:09 +0000 (18:12 +0100)
commitf8b8fbeee3f5c51f6b3e39200f935156be3936f3
tree41c68e87806f41578fa21738f9611a305d51c1e7
parent8e72fd01071694b73ec092657f5378dbadd4f396
mkefidisk.sh: fix hanging on non-writeable device

If cleanup() is called early on, as happens when the device isn't
writeable, then none of the mount point variables are set; thus the
script was calling grep with only one argument and appeared to hang
since it was waiting for input on stdin.

(From OE-Core master rev: cf4a18eec2a65d840352d1a2862242d116e8a409)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/mkefidisk.sh