summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-858488-min-free-disk.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-858488-min-free-disk.t')
-rw-r--r--tests/bugs/bug-858488-min-free-disk.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-858488-min-free-disk.t b/tests/bugs/bug-858488-min-free-disk.t
index 43ef1496ba1..ae5ac3bde60 100644
--- a/tests/bugs/bug-858488-min-free-disk.t
+++ b/tests/bugs/bug-858488-min-free-disk.t
@@ -7,7 +7,7 @@ cleanup;
function pidgrep()
{
- ps ax | grep "$1" | awk '{print $1}' | head -1
+ ps ax | grep "$1" | grep -v grep | awk '{print $1}' | head -1
}
## Start glusterd