File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/DIRAC/FrameworkSystem/scripts Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ def loginWithCertificate(self):
239
239
if not self .certLoc or not self .keyLoc :
240
240
if not (cakLoc := getCertificateAndKeyLocation ()):
241
241
if not self .authWith : # if user do not choose this way
242
- print (HTML ("<yellow>Can't find user certificate and key</yellow>, trying to connact to DIRAC AS.." ))
242
+ print (HTML ("<yellow>Can't find user certificate and key</yellow>, trying to connect to DIRAC AS.." ))
243
243
return self .doOAuthMagic () # Then try to use DIRAC AS
244
244
return S_ERROR ("Can't find user certificate and key" )
245
245
self .certLoc = self .certLoc or cakLoc [0 ]
@@ -363,9 +363,7 @@ def main():
363
363
# It's server installation?
364
364
if gConfig .useServerCertificate ():
365
365
# In this case you do not need to login.
366
- gLogger .notice (
367
- "You have run the command in a DIRAC server installation environment, which eliminates the need for login."
368
- )
366
+ gLogger .notice ("You should not need to run this command in a DIRAC server. Exiting." )
369
367
DIRAC .exit (1 )
370
368
371
369
userParams .group , userParams .scopes = Script .getPositionalArgs (group = True )
Original file line number Diff line number Diff line change 25
25
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
26
26
27
27
echo " dirac-login dirac_prod"
28
- dirac-login dirac_prod --VOMS
28
+ dirac-login dirac_prod
29
29
if [[ " ${?} " -ne 0 ]]; then
30
30
exit 1
31
31
fi
You can’t perform that action at this time.
0 commit comments