pgbackrest.git / summary / log / commit / refs

commit    49536498e6d54e283f656a41d7e1dcd5fbaed487
Author:   David Steele <github@thelabyrinth.net>
Date:     Thu Apr 03 20:52:39 2014 +0000

    Warning for non-empty dirs instead of error


pg_backrest_backup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_backrest_backup.pm b/pg_backrest_backup.pm index 5aab47ca8..3366eddfa 100644 --- a/pg_backrest_backup.pm +++ b/pg_backrest_backup.pm @@ -360,7 +360,7 @@ sub archive_pull if ($strPath lt $strPathMax) { &log(DEBUG, "removing local archive path ${strPath}"); - rmdir($strArchivePath . "/" . $strPath) or confess &log(ERROR, "unable to remove archive path ${strPath}, is it empty?"); + rmdir($strArchivePath . "/" . $strPath) or &log(WARN, "unable to remove archive path ${strPath}, is it empty?"); } # If the dir is not empty check if the files are in the manifest [parent: 194696f6742d]