aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorCharlie Groves <charlie.groves@gmail.com>2022-03-01 15:58:42 -0500
committerCharlie Groves <charlie.groves@gmail.com>2022-03-01 16:13:23 -0500
commit045422e4a081e9dedff014346cc32eaef45e04e1 (patch)
treeab79a7f541fe4aeab57dd0b882feafab70626703 /scripts/gen_vimdoc.py
parented1a9c310df178e1163c910f70b194a657ad055a (diff)
downloadrneovim-045422e4a081e9dedff014346cc32eaef45e04e1.tar.gz
rneovim-045422e4a081e9dedff014346cc32eaef45e04e1.tar.bz2
rneovim-045422e4a081e9dedff014346cc32eaef45e04e1.zip
fix: respect os_proc_children rv of pid not found
os_proc_children returns 2 if there's a failure in the underlying syscall. Only shell out to pgrep in that case. It returns 1 if the pid isn't found. In that case, we can roll forward with returning an empty list.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions