processes() bugfix parsing ps linux

This commit is contained in:
Sebastian Hildebrandt 2018-08-03 14:21:36 +02:00
parent 9c11792546
commit 4a40e6bea2

View File

@ -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({