Skip to content

Commit

Permalink
exits when no change
Browse files Browse the repository at this point in the history
  • Loading branch information
belane committed Sep 1, 2022
1 parent 28401ab commit 423df7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PS-BinDiff.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ for ($byte=0; $byte -le $original.Length; $byte++) {
}
}
Write-Output "------------------------`nFound $($changes.Length) changes`n"
if ($changes.Length -eq 0) { break }

## GENERATE PATCH
Write-Output "Generating patch...`n"
Expand Down

0 comments on commit 423df7f

Please sign in to comment.