diff options
-rw-r--r-- | tests/bugs/bug-887098-gmount-crash.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-887098-gmount-crash.t b/tests/bugs/bug-887098-gmount-crash.t index 54e52d4dc45..68f16d73556 100644 --- a/tests/bugs/bug-887098-gmount-crash.t +++ b/tests/bugs/bug-887098-gmount-crash.t @@ -18,7 +18,7 @@ EXPECT 'Created' volinfo_field $V0 'Status'; function pidgrep() { - ps ax | grep "$1" | awk '{print $1}' | head -1 + ps ax | grep "$1" | grep -v grep | awk '{print $1}' | head -1 } |