1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-13 11:53:59 +02:00

Include version name in start agent log message

This commit is contained in:
Konstantin Knizhnik 2019-03-07 12:21:27 +03:00
parent 79087d38bf
commit f0cbfb7147

View File

@ -128,7 +128,7 @@ bool launch_agent(void)
if (execvp(ssh_argv[0], ssh_argv) < 0)
return false;
} else {
elog(LOG, "Spawn agent %d", child_pid);
elog(LOG, "Spawn agent %d version %s", child_pid, PROGRAM_VERSION);
SYS_CHECK(close(infd[1])); /* These are being used by the child */
SYS_CHECK(close(outfd[0]));
/*atexit(kill_child);*/