]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fixed get_status() to find client.radosgw fields inside of ps output.
authorWarren Usui <warren.usui@inktank.com>
Fri, 21 Feb 2014 05:07:53 +0000 (21:07 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 11 Mar 2014 03:40:41 +0000 (20:40 -0700)
Fixes: 7375
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Warren Usui <warren.usui@inktank.com>
(cherry picked from commit 8020dcf7791a0f459bae5e8a77d70ff1dc9c60bc)

qa/workunits/rgw/s3_user_quota.pl

index 779534b971e0b61e21b465e7b6ddede2bcae64b8..ff0798b36a0673f1c00fe7f8185f5140c4f25314 100755 (executable)
@@ -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;