From fe9573eaa208c644170034f6d82a6319de81156c Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 20 Feb 2022 19:58:38 -0800 Subject: [PATCH] Fail fast if there's no zone file --- bind8/records-lib.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bind8/records-lib.pl b/bind8/records-lib.pl index 01fb83408..194fe2a3d 100755 --- a/bind8/records-lib.pl +++ b/bind8/records-lib.pl @@ -1001,6 +1001,7 @@ if ($z->{'members'}) { else { $fn = $z->{'file'}; } +return undef if (!$fn); if ($abs) { $fn = &absolute_path($fn); }