mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
Fix incorrect readFile params in createPidFile (#6578)
This commit is contained in:
parent
c1b210cfa5
commit
62afdbfdeb
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user