This commit is contained in:
Xavier Guimard 2018-03-14 06:53:53 +01:00
parent 560086472d
commit 79f64c8270
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ Log : $conf->{cfgLog}
sub updateCache {
my $self = shift;
my $conf = $self->confAccess->getConf( { noCache => 1, raw => 1 } );
my $conf = $self->confAccess->getConf( { noCache => 2 } );
die "Must not be launched as root" unless ($>);
print STDERR
qq{Cache updated to configuration $conf->{cfgNum} for user $>\n};

View File

@ -200,7 +200,7 @@ sub getConf {
# Store modified configuration in cache
$self->setLocalConf($r)
if ( $self->{refLocalStorage}
and not( $args->{noCache} or $args->{raw} ) );
and not( $args->{noCache} == 1 or $args->{raw} ) );
}
}