git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c2f27
)
ctdb-scripts: Avoid log noise when NFS checks directory is empty
author
Martin Schwenke
<martin@meltin.net>
Thu, 19 Jan 2017 03:40:20 +0000
(14:40 +1100)
committer
Martin Schwenke
<martins@samba.org>
Fri, 20 Jan 2017 14:01:13 +0000
(15:01 +0100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/60.nfs
patch
|
blob
|
history
diff --git
a/ctdb/config/events.d/60.nfs
b/ctdb/config/events.d/60.nfs
index bd6be78e9a532497c3b6ade72eb5d5755af3bb17..eaa260b700552f83e5a2517dd052a6828897c658 100755
(executable)
--- a/
ctdb/config/events.d/60.nfs
+++ b/
ctdb/config/events.d/60.nfs
@@
-37,6
+37,8
@@
nfs_check_services ()
# Files must end with .check - avoids editor backups, RPM fu, ...
for _f in "$_dir"/[0-9][0-9].*.check ; do
+ [ -r "$_f" ] || continue
+
_t="${_f%.check}"
_progname="${_t##*/[0-9][0-9].}"