SBNSoftware / sbnci

Packages, modules and scripts for the SBN continuous integration system
2 stars 4 forks source link

Improve bin/check_proxy.sh #37

Closed vitodb closed 2 years ago

vitodb commented 2 years ago

This PR has improvements in checking X509 cert validity. in get_proxy() combines cigetcert and k509 calls, this to check we have valid cert on MyProxy server and that the local cert has enough lifetime. Also in warn_proxy() this replaces exit 1 with return 1, here the exit 1 call would cause a logout.