summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/drakguard4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 1154960..8b93f9f 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -251,7 +251,7 @@ sub write_dansguardian() {
}
sub include_guardian_file {
- my ($guardian_file, $external_file, $o_category) = @_;
+ my ($guardian_file, $external_file) = @_;
my $to_add = ".Include<$external_file>\n";
my @all = cat_($guardian_file);
if (!member($to_add, @all)) {
@@ -270,7 +270,7 @@ sub apply_blacklist {
my $blacklist_category = "blocked by Mandriva parental control tool";
output_p($blacklist_url_file, map { $_ . "\n" }
qq(#listcategory: "$blacklist_category"), @addr);
- include_guardian_file($blacklist_top, $blacklist_url_file, $blacklist_category);
+ include_guardian_file($blacklist_top, $blacklist_url_file);
}
sub apply_whitelist {