From 75fa769644e15811c82b900ce9dcac9a94f498b5 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 17 Jan 2024 14:56:26 +0000 Subject: [PATCH] lib/ZnapZend/Config.pm: checkBackupSets(): do not assign "undef" src_mbuffer, fall back to "off" [#629] Signed-off-by: Jim Klimov --- lib/ZnapZend/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ZnapZend/Config.pm b/lib/ZnapZend/Config.pm index d17a4921..215df97a 100644 --- a/lib/ZnapZend/Config.pm +++ b/lib/ZnapZend/Config.pm @@ -179,7 +179,7 @@ my $checkBackupSets = sub { if ($backupSet->{src_mbuffer}) { if ($backupSet->{src_mbuffer} ne 'off' and !($self->zfs->fileExistsAndExec($backupSet->{src_mbuffer}))) { warn "*** WARNING: executable '$backupSet->{src_mbuffer}' does not exist on source system, will ignore\n\n"; - $backupSet->{src_mbuffer} = undef; + $backupSet->{src_mbuffer} = 'off'; } } if (!exists($backupSet->{src_mbuffer_size}) or !($backupSet->{src_mbuffer_size})) {