From 52c17f9651397910582c9a66a3d579a29413f54d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 17 Sep 2019 10:27:38 -0400 Subject: [PATCH] Set event_path to '' to prevent warnings --- scripts/zmaudit.pl.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index 839b69e0f..57c660342 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -282,6 +282,7 @@ MAIN: while( $loop ) { } #Event path is hour/minute/sec my $event_path = readlink($event_link); + $event_path = '' if ! defined($event_path); Debug("Checking link $event_link points to: $event_path"); if ( !($event_path and -e $event_path) ) {