statefile good fix...

This commit is contained in:
qgarnier 2015-02-16 10:26:26 +01:00
parent 0d86f5f214
commit 44aca60692

View File

@ -99,7 +99,7 @@ sub read {
my ($self, %options) = @_;
$self->{statefile_dir} = defined($options{statefile_dir}) ? $options{statefile_dir} : $self->{statefile_dir};
$self->{statefile} = defined($options{statefile}) ? $options{statefile} . $self->{statefile_suffix} :
$self->{statefile} . $self->{statefile_suffix};
$self->{statefile};
if (defined($self->{memcached})) {
# if "SUCCESS" or "NOT FOUND" is ok. Other with use the file