Skip to content

Commit

Permalink
add /Y flag to make sure task does not hang if a pending operation …
Browse files Browse the repository at this point in the history
…was cancelled.
  • Loading branch information
sandorfr committed Oct 24, 2016
1 parent e3b0302 commit b76197c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tasks/AzCopy/azCopy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ function getStorageAccount(credentials: ICachedSubscriptionCredentals, accountNa
toolRunner.arg('/XO');
}

toolRunner.arg('/Y');

var result = await toolRunner.exec();
if (result) {
tl.setResult(tl.TaskResult.Failed, "An error occured during azcopy")
Expand Down

0 comments on commit b76197c

Please sign in to comment.