mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +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,
|
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),
|
host, ((masterport==NULL) ? "5432" : masterport),
|
||||||
password);
|
password);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user