From 8020dcf7791a0f459bae5e8a77d70ff1dc9c60bc Mon Sep 17 00:00:00 2001 From: Warren Usui Date: Thu, 20 Feb 2014 21:07:53 -0800 Subject: [PATCH] Fixed get_status() to find client.radosgw fields inside of ps output. Fixes: 7375 Signed-off-by: Warren Usui --- qa/workunits/rgw/s3_user_quota.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rgw/s3_user_quota.pl b/qa/workunits/rgw/s3_user_quota.pl index 779534b971e0b..ff0798b36a067 100755 --- a/qa/workunits/rgw/s3_user_quota.pl +++ b/qa/workunits/rgw/s3_user_quota.pl @@ -80,7 +80,7 @@ sub get_status { my $service = "radosgw"; my $cmd = "ps -ef | grep $service | grep -v grep"; my $status = get_cmd_op($cmd); - if ($status =~ /client.radosgw/ ){ + if ($status =~ m/client.radosgw/ ){ return 0; } return 1; -- 2.39.5