diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-24 01:03:47 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-24 01:03:47 +0000 |
commit | cab983b0d097851b60e1c4ad7174702b37327e7a (patch) | |
tree | 513b8c8be29236a8ca7da6cfc8f8e9d658cd3d78 | |
parent | 6e63f4ea75b9b749a0ef3784d07d500b06b601ed (diff) | |
download | openembedded-core-cab983b0d097851b60e1c4ad7174702b37327e7a.tar.gz openembedded-core-cab983b0d097851b60e1c4ad7174702b37327e7a.tar.bz2 openembedded-core-cab983b0d097851b60e1c4ad7174702b37327e7a.zip |
qemuimage-testlib: Improve quoting causing problems under certain circumstances
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | scripts/qemuimage-testlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib index 2c38b9413b..713a47434d 100644 --- a/scripts/qemuimage-testlib +++ b/scripts/qemuimage-testlib @@ -204,7 +204,7 @@ Test_Kill_Qemu() # function to check if there is any qemu process Test_Check_Qemu_UP() { - local count=`ps -eo command | cut -d " " -f 1 | grep -c \(^qemu\|.*/qemu\)` + local count=`ps -eo command | cut -d " " -f 1 | grep -c "\(^qemu\|.*/qemu\)"` if [ ${count} -lt 1 ]; then Test_Info "There is no Qemu process" return 1 |