Skip to content

Unset variables before evaluating options (avoid conflicts with environment variables)#82

Open
cstsw wants to merge 1 commit intoMatty9191:masterfrom
cstsw:master
Open

Unset variables before evaluating options (avoid conflicts with environment variables)#82
cstsw wants to merge 1 commit intoMatty9191:masterfrom
cstsw:master

Conversation

@cstsw
Copy link

@cstsw cstsw commented Feb 13, 2020

Before the arguments to the script are evaluated all variables that are used in the subsequent control flow are unset (in order to avoid conflicts with corresponding variables defined in the environment already, see #78).

…onment variables)

Before the arguments to the script are evaluated all variables that are used in subsequent control flow are unset (in order to avoid conflicts with corresponding variables defined in the environment already).
@Codelica
Copy link

Systems like OPNSense have HOST set which can be very confusing. :) Hope this gets in. Until then env -i ./ssl-cert-check ...

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.

2 participants