processes() bugfix parsing ps linux
This commit is contained in:
parent
9c11792546
commit
4a40e6bea2
@ -230,7 +230,7 @@ function processes(callback) {
|
||||
}
|
||||
space = head[i] === ' ';
|
||||
} else {
|
||||
if (/\s/.test(head[i]) && space) {
|
||||
if (!/\s/.test(head[i]) && space) {
|
||||
to = i - 1;
|
||||
if (from < to) {
|
||||
result.push({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user