From f7f52ae3d2a53b19baa617423c872436f26ef38c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 16 Feb 2015 10:26:26 +0100 Subject: [PATCH] statefile good fix... --- centreon/plugins/statefile.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/statefile.pm b/centreon/plugins/statefile.pm index 5d442ba6b..926da982e 100644 --- a/centreon/plugins/statefile.pm +++ b/centreon/plugins/statefile.pm @@ -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