]> granicus.if.org Git - procps-ng/commit
top: correct a flaw in the support for pids monitoring
authorJim Warner <james.warner@comcast.net>
Thu, 8 Oct 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Fri, 9 Oct 2015 10:35:28 +0000 (21:35 +1100)
commit41e7510333e8c4308668ec10d7726ba517a153ee
tree7002eac9437a7cf001098caa8a673b866080975f
parentbc616b361596bc3008800de839b88446508cfdd0
top: correct a flaw in the support for pids monitoring

Ever since top was adapted to the new <pids> interface
there has been a bug that would cause an abnormal exit
when the '-p' argument contained *no* valid pids. This
was never revealed until now since the QA folks tested
only with valid, existing pids. (bunch of morons, eh?)

And even though the program author is blameless he has
taken it upon himself to clean up after the QA jokers.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c