mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
repmgr: properly remove temporary directory created when cloning from Barman
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -3027,7 +3027,7 @@ stop_backup:
|
|||||||
if (mode == barman)
|
if (mode == barman)
|
||||||
{
|
{
|
||||||
/* In Barman mode, remove local_repmgr_directory */
|
/* In Barman mode, remove local_repmgr_directory */
|
||||||
rmdir(local_repmgr_directory);
|
rmtree(local_repmgr_directory, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(mode)
|
switch(mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user