Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CCDB/src/CcdbApi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,9 @@ bool CcdbApi::checkAlienToken() const
// a somewhat weird construction to programmatically find out if we
// have a GRID token; Can be replaced with something more elegant once
// alien-token-info does not ask for passwords interactively
if (getenv("JALIEN_TOKEN_CERT")) {
return true;
}
auto returncode = system("timeout 1s timeout 1s alien-token-info &> /dev/null");
return returncode == 0;
}
Expand Down