Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix #3814
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmathis committed Oct 7, 2015
1 parent 1f23aef commit 7d39160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perl/centreon/script/centcore.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<FILE>){
$self->parseRequest($_);
Expand Down

0 comments on commit 7d39160

Please sign in to comment.