Skip to content

Commit

Permalink
Prevent unary operator expected error when SWAN_DEV is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
etejedor committed Jun 29, 2023
1 parent 3e22be3 commit 49c667a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/private/eos_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [[ ! -f "$EOS_KEYTAB" ]]; then
exit 1;
fi

if [ $SWAN_DEV = "true" ]; then
if [ "$SWAN_DEV" = "true" ]; then
# For dev purposes, one can provide already generated token
echo $(cat /srv/jupyterhub/private/eos.cred | base64 -w 0)
exit 0
Expand Down

0 comments on commit 49c667a

Please sign in to comment.