Skip to content

Commit

Permalink
Merge pull request #32658 from vespa-engine/arnej/cosmetic-message-fix
Browse files Browse the repository at this point in the history
make messages consistent
  • Loading branch information
hmusum authored Oct 31, 2024
2 parents 32a3d7a + 96708c2 commit 6a89c84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vespalog/src/logger/runserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ int main(int argc, char *argv[])
PidFile mypf(pidfile);
if (checkWouldRun) {
if (mypf.anotherRunning()) {
fprintf(stderr, "%s already running with pid %d\n", service, mypf.readPid());
fprintf(stderr, "runserver(%s) already running with pid %d\n", service, mypf.readPid());
return 1;
} else {
return 0;
Expand Down Expand Up @@ -462,8 +462,7 @@ int main(int argc, char *argv[])
}

if (mypf.anotherRunning()) {
fprintf(stderr, "runserver already running with pid %d\n",
mypf.readPid());
fprintf(stderr, "runserver(%s) already running with pid %d\n", service, mypf.readPid());
return 0;
}

Expand Down

0 comments on commit 6a89c84

Please sign in to comment.