fix issues with if condition (#1537)

This commit is contained in:
Abdelsalam Abbas
2017-08-20 12:55:13 +02:00
committed by Matthew Mosesohn
parent 3c710219a1
commit 01a130273f
3 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ if [ "$AZURE_RESOURCE_GROUP" == "" ]; then
exit 1
fi
if [ $(az &>/dev/null) ] ; then
if az &>/dev/null; then
echo "azure cli 2.0 found, using it instead of 1.0"
./clear-rg_2.sh "$AZURE_RESOURCE_GROUP"
else