1
0
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:
Martin Schwenke 2017-01-19 14:40:20 +11:00 committed by Martin Schwenke
parent e7c2f270b5
commit 8eafa2c5df

View File

@ -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].}"