mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 23:26:30 +00:00
Fix quoting misbehavior
Move the single quote in the formatting string to the end of the line. Signed-off-by: Dan Farina <drfarina@acm.org>
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -1377,7 +1377,7 @@ create_recovery_file(const char *data_dir, char *master_conninfo)
|
||||
}
|
||||
|
||||
maxlen_snprintf(line,
|
||||
"primary_conninfo = 'host=%s port=%s' password=%s\n",
|
||||
"primary_conninfo = 'host=%s port=%s password=%s'\n",
|
||||
host, ((masterport==NULL) ? "5432" : masterport),
|
||||
password);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user