diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs/bug-858488-min-free-disk.t | 2 |
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 43ef1496b..ae5ac3bde 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 |