git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39fcdad
)
lib:util: Don't print lstat warning on ERROR debug level
author
Andreas Schneider
<asn@samba.org>
Mon, 14 Nov 2016 10:31:20 +0000
(11:31 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 15 Nov 2016 23:20:06 +0000
(
00:20
+0100)
If we are a client and can't access the lock directory don't confuse a
user.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util.c
patch
|
blob
|
history
diff --git
a/lib/util/util.c
b/lib/util/util.c
index a8bbc158f60dd9c80a3fc5fbe34c26120691efa9..56056a3403ce7c442833748a0de2e3769ad9e0bf 100644
(file)
--- a/
lib/util/util.c
+++ b/
lib/util/util.c
@@
-202,8
+202,8
@@
_PUBLIC_ bool directory_create_or_exist(const char *dname,
}
if (errno != ENOENT) {
- D
EBUG(0,
("lstat failed on directory %s: %s\n",
-
dname, strerror(errno)
));
+ D
BG_WARNING
("lstat failed on directory %s: %s\n",
+
dname, strerror(errno
));
return false;
}