1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-17 21:18:00 +02:00

minor fix: report correct remote mode if remote-host is not NULL and remote-proto is "none"

This commit is contained in:
Grigory Smolkin 2019-06-20 18:19:38 +03:00
parent f6ec367700
commit e28e34c6e8

View File

@ -621,7 +621,7 @@ main(int argc, char *argv[])
elog(INFO, "Backup start, pg_probackup version: %s, backup ID: %s, backup mode: %s, instance: %s, stream: %s, remote %s",
PROGRAM_VERSION, base36enc(start_time), backup_mode, instance_name,
stream_wal ? "true" : "false", instance_config.remote.host ? "true" : "false");
stream_wal ? "true" : "false", IsSshProtocol() ? "true" : "false");
/* sanity */
if (current.backup_mode == BACKUP_MODE_INVALID)