diff options
Diffstat (limited to 'scripts/readmanifest.pm.in')
-rw-r--r-- | scripts/readmanifest.pm.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in index 31ea5f43cc56..8b9920b798d5 100644 --- a/scripts/readmanifest.pm.in +++ b/scripts/readmanifest.pm.in @@ -23,9 +23,9 @@ sub addPatch { } } - if (!$found) { - push @{$patchList}, $patch; - } + push @{$patchList}, $patch if !$found; + + return !$found; } |