diff options
author | Guillermo Ramos | 2021-07-29 13:18:24 +0200 |
---|---|---|
committer | Guillermo Ramos | 2021-07-29 13:18:24 +0200 |
commit | 7da8a0601bea3157bee751acf3b28e40cc181324 (patch) | |
tree | 18133704055a1ea922c7375a72b15bebb25479e4 | |
parent | c9ed1d213d75593d4133f4f38e321b1483c79f49 (diff) | |
download | cli-7da8a0601bea3157bee751acf3b28e40cc181324.tar.gz |
Fix ioob in dups
-rwxr-xr-x | dups | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -141,6 +141,8 @@ foreach my $md5 (keys(%md5s)) { $index = int($index); if ($index >= 0 && $index < @best_choices) { keep($best_choices[$index], @same_md5_files); + } else { + print "\n!!\t Index outside of range, ignoring\n"; } } } |