ctdb-scripts: Avoid shellcheck warning SC2038 (find without -print0)
authorMartin Schwenke <martin@meltin.net>
Tue, 12 Jul 2016 03:27:08 +0000 (13:27 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 21 Jul 2016 00:24:27 +0000 (02:24 +0200)
commit5e9aa57c05da9c22ecb5cecd97ea37693b921ba4
treefddea08bcaef4b54dab0280c4d8312d4341ed2ef
parentd138cb8062ddaeb58210138059b53326cced96f6
ctdb-scripts: Avoid shellcheck warning SC2038 (find without -print0)

SC2038: Use -print0/-0 or -exec + to allow for non-alphanumeric filenames.

The suggested options aren't POSIX-compliant.  This is more portable.

Base filenames can't have whitespace so rework to avoid problems with
whitespace in directory name.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/functions