Skip to content

Commit

Permalink
lib: bsys.cc: removed unnecessary errno message after lock failure
Browse files Browse the repository at this point in the history
  • Loading branch information
alaaeddineelamri committed Nov 9, 2021
1 parent 2c1f3ed commit 37bcc7b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/lib/bsys.cc
Expand Up @@ -433,9 +433,8 @@ static void LockPidFile(const char* progname,
if (errno == EAGAIN || errno == EACCES) {
BErrNo be;
Emsg2(M_ERROR_TERM, 0,
_("PID file '%s' is locked; probably '%s' is already running. "
"ERR=%s\n"),
pidfile_path, progname, be.bstrerror());
_("PID file '%s' is locked; probably '%s' is already running. "),
pidfile_path, progname);

} else {
BErrNo be;
Expand Down

0 comments on commit 37bcc7b

Please sign in to comment.