1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-05-19 22:13:13 +02:00

Fixed issue in doc info output with --require.

Section names were being repeated in the info output when multiple --require options depended on the same sections.
This commit is contained in:
David Steele 2016-06-18 09:22:26 -04:00
parent cb32a8ab1f
commit e988b96ece
2 changed files with 9 additions and 2 deletions

View File

@ -362,9 +362,12 @@ sub required
{
if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/)
{
&log(INFO, " require section: ${strChildPath}");
if (!defined(${$self->{oSectionRequired}}{$strChildPath}))
{
&log(INFO, " require section: ${strChildPath}");
${$self->{oSectionRequired}}{$strChildPath} = true;
${$self->{oSectionRequired}}{$strChildPath} = true;
}
}
}
}

View File

@ -108,6 +108,10 @@
<release-item>
<p>Fixed <backrest/>-specific xml that was loaded for non-<backrest/> projects.</p>
</release-item>
<release-item>
<p>Fixed section names being repeated in the info output when multiple <br-option>--require</br-option> options depended on the same sections.</p>
</release-item>
</release-bug-list>
<release-feature-list>