Added missing wait after git-version call in wrapper
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
7efd1a5b23
commit
1619134720
1 changed files with 1 additions and 0 deletions
1
repo
1
repo
|
@ -202,6 +202,7 @@ def _CheckGitVersion():
|
|||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||
ver_str = proc.stdout.read().strip()
|
||||
proc.stdout.close()
|
||||
proc.wait()
|
||||
|
||||
if not ver_str.startswith('git version '):
|
||||
print >>sys.stderr, 'error: "%s" unsupported' % ver_str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue