+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -1991,7 +1991,7 @@ Array nvim_get_proc_children(Integer pid, Error *err)
1991
1991
1992
1992
size_t proc_count;
1993
1993
int rv = os_proc_children((int)pid, &proc_list, &proc_count);
1994
-
if (rv != 0) {
1994
+
if (rv == 2) {
1995
1995
// syscall failed (possibly because of kernel options), try shelling out.
1996
1996
DLOG("fallback to vim._os_proc_children()");
1997
1997
Array a = ARRAY_DICT_INIT;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4