We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dfccd commit 46c7dbaCopy full SHA for 46c7dba
src/dir.c
@@ -613,8 +613,8 @@ dir_check_file(pgFile *file, bool backup_logs)
613
*/
614
for (i = 0; pgdata_exclude_dir[i]; i++)
615
{
616
- /* relative path exclude */
617
- if (strcmp(file->rel_path, pgdata_exclude_dir[i]) == 0)
+ /* exclude by dirname */
+ if (strcmp(file->name, pgdata_exclude_dir[i]) == 0)
618
619
elog(VERBOSE, "Excluding directory content: %s", file->rel_path);
620
return CHECK_EXCLUDE_FALSE;
0 commit comments