summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index ac078e2bcce..741d2b81c15 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -16,7 +16,7 @@ function brick_count()
function online_brick_count ()
{
- pidof glusterfsd | wc -w
+ pgrep glusterfsd | wc -l
}
function volume_option()