1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-29 22:28:02 +02:00

Fixed issue where --reset-* was not passing the default value to Perl.

Contributed by Cynthia Shang.
This commit is contained in:
Cynthia Shang
2018-02-13 15:58:14 -05:00
committed by David Steele
parent 213724907b
commit 00e9aca872
5 changed files with 76 additions and 58 deletions

View File

@@ -2171,7 +2171,7 @@ foreach my $strKey (sort(keys(%hConfigDefine)))
{
$hConfigDefine{$strKey}{&CFGDEF_RESET} = true;
}
elsif (!$hConfigDefine{$strKey}{&CFGDEF_RESET})
elsif (!defined($hConfigDefine{$strKey}{&CFGDEF_RESET}))
{
$hConfigDefine{$strKey}{&CFGDEF_RESET} = false;
}