diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/drakids | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakids b/perl-install/standalone/drakids index f6ce3c00e..06f35d490 100644 --- a/perl-install/standalone/drakids +++ b/perl-install/standalone/drakids @@ -95,4 +95,6 @@ sub handle_blacklist { sub unblacklist { my @addr = uniq(map { $blacklist->{data}->[$_]->[0] } $blacklist->get_selected_indices); $activefw->unblacklist($_) foreach @addr; + #- delete from the list even if the above calls were unsuccessful + @{$blacklist->{data}} = grep { !member($_->[0], @addr) } @{$blacklist->{data}}; } |