Merge pull request #81753 from yujuhong/no-continue

GCE/Windows: use "return" as "continue" for ForEach-Object
This commit is contained in:
Kubernetes Prow Robot 2019-08-23 03:27:30 -07:00 committed by GitHub
commit 9cd9c45fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ while($true) {
if (-not (Test-Path $user_dir)) {
# If for some reason Create-NewProfile failed to create the user profile
# directory just continue on to the next user.
continue
return
}
# NOTE: there is a race condition here where someone could try to ssh to