From cab983b0d097851b60e1c4ad7174702b37327e7a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 24 Dec 2010 01:03:47 +0000 Subject: qemuimage-testlib: Improve quoting causing problems under certain circumstances Signed-off-by: Richard Purdie --- scripts/qemuimage-testlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/qemuimage-testlib') 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 -- cgit v1.2.3-54-g00ecf