Junegunn Choi 12 лет назад
Родитель
Сommit
39d3384bfd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -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