Suppress error messages from which
command
This commit is contained in:
parent
a64b156682
commit
115a25de79
2
plug.vim
2
plug.vim
|
@ -725,7 +725,7 @@ function! s:update_parallel(pull, todo, threads)
|
||||||
|
|
||||||
def killall pid
|
def killall pid
|
||||||
pids = [pid]
|
pids = [pid]
|
||||||
unless `which pgrep`.empty?
|
unless `which pgrep 2> /dev/null`.empty?
|
||||||
children = pids
|
children = pids
|
||||||
until children.empty?
|
until children.empty?
|
||||||
children = children.map { |pid|
|
children = children.map { |pid|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user