assemble: require minimum deletions to catch overly flexible GLOBs

just a basic safety test

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-10-30 07:18:25 +01:00
parent e9c9ca7c70
commit 0cfd91fd5f

View File

@ -655,4 +655,7 @@ for my $f (@$all_fw_files) {
print "cleanup end result: keep: $keep, delete: $delete\n";
# just some random boundary to catch some stupid '*' GLOB errors, adapt as needed.
die "delete number is awfully low ($delete < 100)\n" if $delete < 100;
exit(0);