1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-20 01:17:49 +02:00

Warning for non-empty dirs instead of error

This commit is contained in:
David Steele
2014-04-03 16:52:39 -04:00
parent 194696f674
commit 49536498e6
+1 -1
View File
@@ -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