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 17, 2021
1 parent 634e08d commit edbd903
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/lib/bsys.cc
Original file line number Diff line number Diff line change
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 edbd903

Please sign in to comment.