Skip to content

Commit

Permalink
Exit with a non-zero code when EB CLI installation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulrajaram committed May 23, 2019
1 parent df68335 commit 5fc517f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ebcli_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,10 @@ def _install_ebcli(quiet, version, ebcli_source):
'--upgrade',
'--upgrade-strategy', 'eager',
]
_exec_cmd(install_args, quiet)
returncode = _exec_cmd(install_args, quiet)

if returncode != 0:
exit(returncode)


def _add_ebcli_stamp(virtualenv_directory):
Expand Down

0 comments on commit 5fc517f

Please sign in to comment.