Skip to content

Commit

Permalink
lib/ZnapZend/Config.pm: checkBackupSets(): do not assign "undef" src_…
Browse files Browse the repository at this point in the history
…mbuffer, fall back to "off" [#629]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jan 17, 2024
1 parent 42c6efe commit 75fa769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ZnapZend/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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})) {
Expand Down

0 comments on commit 75fa769

Please sign in to comment.