mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-26 11:54:25 +02:00
Fix agent version check
This commit is contained in:
parent
e97fd44643
commit
2247716b68
@ -317,9 +317,9 @@ main(int argc, char *argv[])
|
||||
/* Parse command line only arguments */
|
||||
config_get_opt(argc, argv, cmd_options, instance_options);
|
||||
|
||||
if (remote_agent != NULL && strcmp(remote_agent, current.program_version) != 0)
|
||||
if (remote_agent != NULL && strcmp(remote_agent, PROGRAM_VERSION) != 0)
|
||||
elog(ERROR, "Agent version %s doesn't match master pg_probackup version %s",
|
||||
remote_agent, current.program_version);
|
||||
remote_agent, PROGRAM_VERSION);
|
||||
|
||||
pgut_init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user