Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unwanted code - Minor improvements #1036

Merged
merged 11 commits into from
Dec 2, 2023

Conversation

TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented Oct 18, 2023

Remove unused code: Essentially, clean up the mess I made trying to control the vars file.

Upgrade to shellcheck 0.9.0

Other minor improvements.

Signed-off-by: Richard T Bonhomme <[email protected]>
Signed-off-by: Richard T Bonhomme <[email protected]>
Allows removal of the 'init-pki' section of 'install_data_to_pki()'.

Signed-off-by: Richard T Bonhomme <[email protected]>
Only effects upgrade, up23_manage_upgrade_23()

Signed-off-by: Richard T Bonhomme <[email protected]>
Signed-off-by: Richard T Bonhomme <[email protected]>
If the openssl-easyrsa.cnf file fails to copy then try to create it
using create_openssl_easyrsa_cnf(). If creating the file also fails
then that is a fatal error.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech self-assigned this Oct 18, 2023
@TinCanTech TinCanTech added this to the v3.1.8 milestone Oct 18, 2023
Signed-off-by: Richard T Bonhomme <[email protected]>
Because different commands have different cleanup requirements,
this code reduces the success check to an if-then per command.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech changed the title Remove unused code Version 3.1.8-1 Oct 22, 2023
@TinCanTech TinCanTech changed the title Version 3.1.8-1 Version 3.1.8-beta-1 Oct 23, 2023
@TinCanTech TinCanTech removed this from the v3.1.8 milestone Oct 27, 2023
@TinCanTech TinCanTech changed the title Version 3.1.8-beta-1 Remove unwanted code - Minor improvements Oct 27, 2023
@TinCanTech TinCanTech added this to the v3.2.0 milestone Oct 30, 2023
@TinCanTech
Copy link
Collaborator Author

Follow-up: 52bac31

@TinCanTech TinCanTech merged commit 52bac31 into OpenVPN:master Dec 2, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant