Skip to content

Commit b1c9886

Browse files
fix
1 parent 90c2ef4 commit b1c9886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/manage/azure-sql-db-managed-instance/prepare-subnet/prepareSubnet.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Ensure-Login ()
1515
If((Login-AzureRmAccount -ErrorAction SilentlyContinue -ErrorVariable Errors) -eq $null)
1616
{
1717
Write-Host ("Login failed: {0}" -f $Errors.Message) -ForegroundColor Red
18-
Exit
18+
Break
1919
}
2020
}
2121
Write-Host "User logedin." -ForegroundColor Green

0 commit comments

Comments
 (0)