while -> until

This commit is contained in:
Junegunn Choi committed 2013-09-28 20:32:25 +09:00
1 parent 09b2080ddb
commit 39d3384bfd
1 file changed
+1 -1
+1 -1
View File
@@ -383,7 +383,7 @@ function! s:update_parallel(pull, threads)
pids = [fd.pid]
unless `which pgrep`.empty?
children = pids
while !children.empty?
until children.empty?
children = children.map { |pid|
`pgrep -P #{pid}`.lines.map(&:chomp)
}.flatten