From: Warren Usui Date: Fri, 21 Feb 2014 05:07:53 +0000 (-0800) Subject: Fixed get_status() to find client.radosgw fields inside of ps output. X-Git-Tag: v0.79~193^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1279%2Fhead;p=ceph.git Fixed get_status() to find client.radosgw fields inside of ps output. Fixes: 7375 Signed-off-by: Warren Usui --- diff --git a/qa/workunits/rgw/s3_user_quota.pl b/qa/workunits/rgw/s3_user_quota.pl index 779534b971e0..ff0798b36a06 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;