diff options
author | Arne Juul <arnej@vespa.ai> | 2024-01-04 10:04:04 +0000 |
---|---|---|
committer | Arne Juul <arnej@vespa.ai> | 2024-01-04 10:04:04 +0000 |
commit | 96708c28667922df3b1be23dc40b7a1dad33db14 (patch) | |
tree | 72c55c8f515d47998345d94ec835457670256bf6 | |
parent | 196a1b79bac9727e755b41897faef63a69c9a530 (diff) |
make messages consistentarnej/cosmetic-message-fix
-rw-r--r-- | vespalog/src/logger/runserver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vespalog/src/logger/runserver.cpp b/vespalog/src/logger/runserver.cpp index 9a0a499cd54..55432be7f84 100644 --- a/vespalog/src/logger/runserver.cpp +++ b/vespalog/src/logger/runserver.cpp @@ -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; @@ -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; } |