From: Richard Purdie Date: Fri, 24 Dec 2010 01:03:47 +0000 (+0000) Subject: qemuimage-testlib: Improve quoting causing problems under certain circumstances X-Git-Tag: 2011-1~3270 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cab983b0d097851b60e1c4ad7174702b37327e7a;p=openembedded-core.git qemuimage-testlib: Improve quoting causing problems under certain circumstances Signed-off-by: Richard Purdie --- 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