mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-scripts: Avoid log noise when NFS checks directory is empty
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
e7c2f270b5
commit
8eafa2c5df
@ -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].}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user