diff options
Diffstat (limited to 'vespalog/src/logger/runserver.cpp')
-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; } |