Skip to content

Commit

Permalink
don't copy those files
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Feb 20, 2013
1 parent 48c68b2 commit cd41c3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Monitoring/TT.pm
Expand Up @@ -179,6 +179,8 @@ sub _build_dynamic_config {
info('processing non object: '.$file);
my $outfile = $file;
$outfile =~ s/.*\///mx;
next if $outfile =~ m/^hosts.*\.cfg/gmx;
next if $outfile =~ m/^contacts.*\.cfg/gmx;
$outfile = $self->{'out'}.'/'.$outfile;
debug('writing: '.$outfile);
open(my $fh, '>', $outfile) or die('cannot write '.$outfile.': '.$!);
Expand Down

0 comments on commit cd41c3b

Please sign in to comment.