You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an undefined error when trying to query processes with a determined command.
The problem is that psaux try to call indexOf of a null property value:
Hi,
I'm getting an undefined error when trying to query processes with a determined command.
The problem is that psaux try to call indexOf of a null property value:
valid = ps[key].indexOf(q[key].replace('~', '')) > -1;
In my case, key is "command" and ps[key] contains null as it's value.
This occurs in line 126 of psaux,js.
The above code solved my issue:
if (ps[key]) { valid = ps[key].indexOf(q[key].replace('~', '')) > -1; } else { valid = false; }
The text was updated successfully, but these errors were encountered: