git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
131437e
)
messaging3: Don't print a message if there's nothing to clean up
author
Volker Lendecke
<vl@samba.org>
Mon, 18 Aug 2014 11:58:05 +0000
(11:58 +0000)
committer
Volker Lendecke
<vl@samba.org>
Thu, 21 Aug 2014 10:35:11 +0000
(12:35 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ronnie sahlberg <ronniesahlberg@gmail.com>
source3/lib/messages_dgm.c
patch
|
blob
|
history
diff --git
a/source3/lib/messages_dgm.c
b/source3/lib/messages_dgm.c
index 2c43ec3d8a37a2fbffda61c545ecdecf064be89d..e2ee7512dfdbc21a3daa7ed5b97751277dcb739d 100644
(file)
--- a/
source3/lib/messages_dgm.c
+++ b/
source3/lib/messages_dgm.c
@@
-335,8
+335,10
@@
int messaging_dgm_cleanup(struct messaging_dgm_context *ctx, pid_t pid)
fd = open(lockfile_name, O_NONBLOCK|O_WRONLY, 0);
if (fd == -1) {
ret = errno;
- DEBUG(10, ("%s: open(%s) failed: %s\n", __func__,
- lockfile_name, strerror(ret)));
+ if (ret != ENOENT) {
+ DEBUG(10, ("%s: open(%s) failed: %s\n", __func__,
+ lockfile_name, strerror(ret)));
+ }
TALLOC_FREE(lockfile_name);
return ret;
}