Skip to content

Commit

Permalink
Use check_call to capture error from build process
Browse files Browse the repository at this point in the history
Without this install.py always exits 0 and no way to tell vim-plug
its installation actually failed
  • Loading branch information
ymattw committed Dec 26, 2015
1 parent 414f482 commit 7106525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def Main():
'to run:\n\tgit submodule update --init --recursive\n\n' )

python_binary = sys.executable
subprocess.call( [ python_binary, build_file ] + sys.argv[1:] )
subprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )

# Remove old YCM libs if present so that YCM can start.
old_libs = (
Expand Down

0 comments on commit 7106525

Please sign in to comment.