Skip to content

Commit

Permalink
make messages consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
arnej27959 committed Jan 4, 2024
1 parent 196a1b7 commit 96708c2
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 @@ -389,7 +389,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 @@ -463,8 +463,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 96708c2

Please sign in to comment.