Skip to content

looking for ways to clean it up or improve its efficiency, I could sugg…#1

Open
brokep wants to merge 1 commit intoScienceLogic:developfrom
dnssec:develop
Open

looking for ways to clean it up or improve its efficiency, I could sugg…#1
brokep wants to merge 1 commit intoScienceLogic:developfrom
dnssec:develop

Conversation

@brokep
Copy link

@brokep brokep commented Jun 27, 2023

looking for ways to clean it up or improve its efficiency, I could suggest the following:

Define the path to the config_files directory once at the top of your script, reducing the need to repeatedly construct it.
Check the existence of the config_files directory at the start of the script. This way, you can prevent generating certificates if the directory does not exist.
If you are not interested in retaining the standard output, redirect it to /dev/null to reduce unnecessary terminal output.

…est the following:

    Define the path to the config_files directory once at the top of your script, reducing the need to repeatedly construct it.
    Check the existence of the config_files directory at the start of the script. This way, you can prevent generating certificates if the directory does not exist.
    If you are not interested in retaining the standard output, redirect it to /dev/null to reduce unnecessary terminal output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant