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