summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'probe-mirmon')
-rwxr-xr-xprobe-mirmon1
1 files changed, 1 insertions, 0 deletions
diff --git a/probe-mirmon b/probe-mirmon
index 233b6a3..cfade50 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -117,6 +117,7 @@ sub handle_rsync {
sub munge_date {
no warnings 'numeric'; ## no critic (TestingAndDebugging::ProhibitNoWarnings)
my $timestr = shift;
+ return -1 if !$timestr;
my $timestamp = int($timestr);
my $year2020 = 1577836800;
my $year2038 = 2145916800;