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
In verify/GALAXY11/default/420_login_to_galaxy_and_setup_environment.sh
removed superfluous braces {...} around variable names
to make the code easier to read, cf.
https://github.com/rear/rear/wiki/Coding-Style#variables
  • Loading branch information
jsmeix committed May 12, 2023
1 parent 64dd3ba commit 07462c3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ elif test $qlist_ret -eq 2; then
# try to login with Credentials from env
# Using "if COMMAND ; then ... ; else echo COMMAND failed with $? ; fi" is mandatory
# because "if ! COMMAND ; then echo COMMAND failed with $? ..." shows wrong $? because '!' results $?=0
if { qlogin -u "${GALAXY11_USER}" -clp "${GALAXY11_PASSWORD}" ; } 2>/dev/null ; then
if { qlogin -u "$GALAXY11_USER" -clp "$GALAXY11_PASSWORD" ; } 2>/dev/null ; then
LogPrint "CommVault client logged in with credentials from GALAXY11_USER '$GALAXY11_USER' and GALAXY11_PASSWORD"
else
Error "CommVault 'qlogin -u $GALAXY11_USER -clp GALAXY11_PASSWORD' failed with exit code $? (retry on command line to see error messages)"
Expand Down

0 comments on commit 07462c3

Please sign in to comment.