Junegunn Choi преди 12 години
родител
ревизия
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