ctdb-doc: Fix shellcheck warning in example NFS ganesha call-out
authorMartin Schwenke <martin@meltin.net>
Wed, 22 Feb 2017 03:44:09 +0000 (14:44 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 06:47:11 +0000 (07:47 +0100)
commit1c8a3988eed5f35462fbd438b5d2e0637117ad4e
tree08c52b1717474204f751fa2ac04908d31f00dbb4
parent8c21aac77fe9e7eaa0cd99099330b3be081c8101
ctdb-doc: Fix shellcheck warning in example NFS ganesha call-out

In ctdb/doc/examples/nfs-ganesha-callout line 216:
for node in `ls ${GANSTATEDIR}`; do
            ^-- SC2045: Iterating over ls output is fragile. Use globs.
            ^-- SC2006: Use $(..) instead of legacy `..`.
                ^-- SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/examples/nfs-ganesha-callout