Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e643b81

Browse files
committed
minor fix
1 parent f725966 commit e643b81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,8 @@ do_backup(time_t start_time, bool no_validate,
717717
current.compress_level = instance_config.compress_level;
718718

719719
/* Save list of external directories */
720-
if (instance_config.external_dir_str)
720+
if (instance_config.external_dir_str &&
721+
(pg_strcasecmp(instance_config.external_dir_str, "none") != 0))
721722
current.external_dir_str = instance_config.external_dir_str;
722723

723724
elog(INFO, "Backup start, pg_probackup version: %s, instance: %s, backup ID: %s, backup mode: %s, "

0 commit comments

Comments
 (0)