commit | 78e08066f272c2adb41a1c80a7d566bd8b31d607 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Jan 28 16:08:08 2016 -0800 |
committer | Christopher Ferris <cferris@google.com> | Thu Jan 28 16:08:08 2016 -0800 |
tree | d9eeccc91db1fa79b3ee4fd5dce34caa5096f9be | |
parent | 53529ecacdffbbffb5c9fbc4ab38103703dde32e [diff] |
Always have ps output to stdout at least one line. There is at least one app that assumes that you will always get at least one line of output in stdout from ps. To fix this, move error output to stdout, and move the check of whether /proc can be opened until after the ps header is printed. Bug: 26554285 Change-Id: I6d9342aafd5c6f728735507cdd87a48a8e0373ac