Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

Fix TO postinstall to retry failed openssl calls #1221

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

rob05c
Copy link
Member

@rob05c rob05c commented Mar 25, 2016

This changes postinstall (generateCerts) to prompt the user if openssl
fails, whether they want to retry.

Ideally, we would immediately inform and retry mismatched passes, but
that isn't possible while calling openssl as an external app.

We would also ideally always retry, except exit if the user hit
ctrl+c. But openssl doesn't return different exit codes for SIGINT
versus failures. Thus, asking seems like the most reasonable option.

Fixes #1063

This changes postinstall (generateCerts) to prompt the user if openssl
fails, whether they want to retry.

Ideally, we would immediately inform and retry mismatched passes, but
that isn't possible while calling openssl as an external app.

We would also ideally always retry, except exit if the user hit
ctrl+c. But openssl doesn't return different exit codes for SIGINT
versus failures. Thus, asking seems like the most reasonable option.

Fixes Comcast#1063
@elsloo elsloo added this to the 1.5.0 milestone Mar 28, 2016
@dangogh dangogh merged commit 83a5028 into Comcast:master Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants