Skip to content

Commit

Permalink
fix: Fixed azure relogin script escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Dec 29, 2023
1 parent 8a7dc42 commit 8bf0200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flavour/azure/flavourinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi

echo "#!/bin/sh" > ~/bin/azure-relogin
cat <<EOF >>~/bin/azure-relogin
AZ_ACCOUNT_SHOW_OUTPUT="$(az account show 2>&1)"
AZ_ACCOUNT_SHOW_OUTPUT="\$(az account show 2>&1)"
if [ $? -eq 0 ]; then
echo "Azure login still valid, no relogin required"
exit 0
Expand Down

0 comments on commit 8bf0200

Please sign in to comment.