mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Fix string comparison
This commit is contained in:
@@ -577,7 +577,7 @@ void do_daemon_stop(void)
|
|||||||
pidfile);
|
pidfile);
|
||||||
log_detail("%s", strerror(errno));
|
log_detail("%s", strerror(errno));
|
||||||
|
|
||||||
if (config_file_options.repmgrd_pid_file == '\0')
|
if (config_file_options.repmgrd_pid_file[0] == '\0')
|
||||||
log_hint(_("set \"repmgrd_pid_file\" in \"%s\""), config_file_path);
|
log_hint(_("set \"repmgrd_pid_file\" in \"%s\""), config_file_path);
|
||||||
exit(ERR_REPMGRD_SERVICE);
|
exit(ERR_REPMGRD_SERVICE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user