diff options
author | Christopher Ferris <cferris@google.com> | 2016-01-28 16:08:08 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2016-01-28 16:08:08 -0800 |
commit | 78e08066f272c2adb41a1c80a7d566bd8b31d607 (patch) | |
tree | d9eeccc91db1fa79b3ee4fd5dce34caa5096f9be /libutils/ProcessCallStack.cpp | |
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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions