Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas

This commit is contained in:
Isaac Connor 2016-01-14 09:42:31 -05:00
commit cdda33f492
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ MAIN: while( $loop ) {
my $count = 0; my $count = 0;
foreach my $event_link ( @event_links ) foreach my $event_link ( @event_links )
{ {
if ( $event_link =~ /[^\d\.]/ ) {
Warning("Non-event link found $event_link in $day_dir, skipping");
next;
}
Debug( "Checking link $event_link" ); Debug( "Checking link $event_link" );
( my $event = $event_link ) =~ s/^.*\.//; ( my $event = $event_link ) =~ s/^.*\.//;
my $event_path = readlink( $event_link ); my $event_path = readlink( $event_link );