forked from Comcast/traffic_control
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TO postinstall to retry failed openssl calls
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
- Loading branch information
Showing
1 changed file
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters