Fix a logic bug in a check for matching files.
Change-Id: I04d24ecddb78c9d302ecf58320aa3eb40fe507fb
This commit is contained in:
parent
b931456573
commit
a22f3e5e24
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func Main(ctx *blueprint.Context, config blueprint.Config) {
|
|||
}
|
||||
|
||||
matches := buf.Len() == len(checkData)
|
||||
if !matches {
|
||||
if matches {
|
||||
for i, value := range buf.Bytes() {
|
||||
if value != checkData[i] {
|
||||
matches = false
|
||||
|
|
Loading…
Reference in a new issue