Skip to content

Commit

Permalink
Freshclam runs during config
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jun 1, 2022
1 parent c5eedd9 commit b45b58f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Virtualmin/Config/Plugin/ClamAV.pm
Expand Up @@ -60,8 +60,7 @@ sub actions {
flush_file_lines($scanconf);
}

foreign_require("init", "init-lib.pl");
if (!init::action_status("clamav-freshclam")) {
if (has_command('freshclam')) {
$self->logsystem("freshclam");
}

Expand Down

0 comments on commit b45b58f

Please sign in to comment.