Fix incorrect readFile params in createPidFile (#6578)

This commit is contained in:
Ryan Mack 2020-08-07 23:34:50 -04:00 committed by GitHub
parent c1b210cfa5
commit 62afdbfdeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,7 +351,7 @@ Status createPidFile() {
if (pathExists(pidfile_path).ok()) {
// if it exists, check if that pid is running.
std::string content;
auto read_status = readFile(pidfile_path, content, true);
auto read_status = readFile(pidfile_path, content);
if (!read_status.ok()) {
return Status(1, "Could not read pidfile: " + read_status.toString());
}