Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
libcore
/
319a3b994703aac84df7bcde272adfcb3cdbbbf0
/
.
/
jdk
/
test
/
sun
/
tools
/
jps
/
jps-V_Output2.awk
blob: 3f1be046884d6522a09b6e2553e3f2bd1401921d [
file
] [
log
] [
blame
]
#
BEGIN
{
totallines
=
0
;
matched
=
0
}
/^[
0
-
9
]+
Jps
.*
\+
DisableExplicitGC$
/
{
matched
++;
}
{
totallines
++;
print
$0
}
END
{
if
((
totallines
>
0
)
&&
(
matched
>=
1
))
{
exit
0
}
else
{
exit
1
}
}