From 7d39160994c46e97d7ea06f034096b9ae18a23f8 Mon Sep 17 00:00:00 2001 From: Julien Mathis Date: Wed, 7 Oct 2015 11:26:52 +0200 Subject: [PATCH] fix #3814 --- lib/perl/centreon/script/centcore.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/perl/centreon/script/centcore.pm b/lib/perl/centreon/script/centcore.pm index 641e112c90f..fccadd12efc 100644 --- a/lib/perl/centreon/script/centcore.pm +++ b/lib/perl/centreon/script/centcore.pm @@ -1117,7 +1117,7 @@ sub run { if (-d $self->{cmdDir}) { opendir(my $dh, $self->{cmdDir}); while (my $file = readdir($dh)) { - if ($file ne "." && $file ne ".." && $file ne "" && $file !~ /.*_read$/) { + if ($file ne "." && $file ne ".." && $file ne "" && $file !~ /.*_read$/ && $file !~ /^\..*/) { if ($self->moveCmdFile($self->{cmdDir} . $file) && open(FILE, "< ". $self->{cmdDir} . $file . "_read")) { while (){ $self->parseRequest($_);