Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice authored Nov 19, 2024
1 parent 7a899a5 commit 421e20b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Server *srv = nullptr;

extern "C" void SignalHandler([[maybe_unused]] int sig) {
if (srv && !srv->IsStopped()) {
LOG(INFO) << "Signal " << sig << " received, stoping the server";
LOG(INFO) << "Signal " << sig << " received, stopping the server";
srv->Stop();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/cmd_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ class CommandShutdown : public Commander {
}

if (!srv->IsStopped()) {
LOG(INFO) << "SHUTDOWN command received, stoping the server";
LOG(INFO) << "SHUTDOWN command received, stopping the server";
srv->Stop();
}
return Status::OK();
Expand Down

0 comments on commit 421e20b

Please sign in to comment.