mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-06-01 19:59:05 +00:00
write standby.signal
This commit is contained in:
+1
-1
@@ -1946,7 +1946,7 @@ modify_auto_conf(const char *data_dir, KeyValueList *items)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (fwrite(auto_conf_contents.data, strlen(auto_conf_contents.data) + 1, 1, fp) != 1)
|
||||
if (fwrite(auto_conf_contents.data, strlen(auto_conf_contents.data), 1, fp) != 1)
|
||||
{
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user