We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2776f73 commit 7ce6958Copy full SHA for 7ce6958
1 file changed
CCDB/src/CcdbApi.cxx
@@ -656,6 +656,9 @@ bool CcdbApi::checkAlienToken() const
656
// a somewhat weird construction to programmatically find out if we
657
// have a GRID token; Can be replaced with something more elegant once
658
// alien-token-info does not ask for passwords interactively
659
+ if (getenv("JALIEN_TOKEN_CERT")) {
660
+ return true;
661
+ }
662
auto returncode = system("timeout 1s timeout 1s alien-token-info &> /dev/null");
663
return returncode == 0;
664
}
0 commit comments