Skip to content

Commit

Permalink
compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu85cn committed Aug 7, 2020
1 parent afa5e65 commit 4320658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daemons/GraphDaemon.cpp
Expand Up @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
// Check pid before glog init, in case of user may start daemon twice
// the 2nd will make the 1st failed to output log anymore
auto pidPath = FLAGS_pid_file;
status = ProcessUtils::isPidAvailable(pidPath);
auto status = ProcessUtils::isPidAvailable(pidPath);
if (!status.ok()) {
LOG(ERROR) << status;
return EXIT_FAILURE;
Expand All @@ -63,7 +63,7 @@ int main(int argc, char *argv[]) {
}

// Setup logging
auto status = setupLogging();
status = setupLogging();
if (!status.ok()) {
LOG(ERROR) << status;
return EXIT_FAILURE;
Expand Down

0 comments on commit 4320658

Please sign in to comment.