diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-27 00:53:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-27 00:53:29 +0000 |
commit | 6181a11abcaffa123a62761c66a54d185caa078d (patch) | |
tree | 9ae7096eed860579c4cfb4688a137850582d1166 /bin | |
parent | cdcbd610aaa4ba1454423cffe9ad3fe969c725cb (diff) | |
download | drakguard-6181a11abcaffa123a62761c66a54d185caa078d.tar drakguard-6181a11abcaffa123a62761c66a54d185caa078d.tar.gz drakguard-6181a11abcaffa123a62761c66a54d185caa078d.tar.bz2 drakguard-6181a11abcaffa123a62761c66a54d185caa078d.tar.xz drakguard-6181a11abcaffa123a62761c66a54d185caa078d.zip |
remove useless parameters
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/drakguard | 4 |
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 { |