Matty9191 / ssl-cert-check

Send notifications when SSL certificates are about to expire.
GNU General Public License v2.0
735 stars 288 forks source link

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

Open cstsw opened 4 years ago

cstsw commented 4 years ago

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).

Codelica commented 2 years ago

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