Skip to content

Commit

Permalink
Update 420_login_to_galaxy_and_setup_environment.sh
Browse files Browse the repository at this point in the history
Do not run more confidentially than what actually needs to run confidentially
  • Loading branch information
jsmeix committed May 11, 2023
1 parent 28125e3 commit fd771ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let qlist_ret=$?
if test $qlist_ret -eq 0; then
Log "CommVault client logged in automatically"
elif test $qlist_ret -eq 2; then
if { test "$GALAXY11_USER" && test "$GALAXY11_PASSWORD" ; } 2>/dev/null ; then
if test "$GALAXY11_USER" && { test "$GALAXY11_PASSWORD" ; } 2>/dev/null ; then
# try to login with Credentials from env
{ qlogin -u "${GALAXY11_USER}" -clp "${GALAXY11_PASSWORD}" ; } 2>/dev/null || \
Error "Could not logon to Commvault CommServe with credentials from GALAXY11_USER ($GALAXY11_USER) and GALAXY11_PASSWORD. Check the log file."
Expand Down

0 comments on commit fd771ae

Please sign in to comment.