diff --git a/sarg/sarg-lib.pl b/sarg/sarg-lib.pl index 945af55fa..2d1325fbc 100755 --- a/sarg/sarg-lib.pl +++ b/sarg/sarg-lib.pl @@ -433,7 +433,7 @@ if ($from || $to) { local $sfile = &find_value("access_log", $conf); local @all = &all_log_files($sfile); foreach $file (@all) { - local $cmd = "$config{'sarg'} -l $file $rangearg"; + local $cmd = "$config{'sarg'} -f $config{'sarg_conf'} -l $file $rangearg"; print $h $cmd,"\n"; open(OUT, "$cmd 2>&1 |"); while() {