ctdb-scripts: Avoid shellcheck warnings SC2046, SC2086 (double-quoting)
authorMartin Schwenke <martin@meltin.net>
Wed, 6 Jul 2016 07:31:51 +0000 (17:31 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 21 Jul 2016 00:24:26 +0000 (02:24 +0200)
commit9255d645f3df9d6451ed0f1382c6752b7bec22ff
tree3386b557c3c8064ca1111c3483c8e82b68f09d0f
parentf6c25a455a62281fd4bf2e3e74cd0ae4233df132
ctdb-scripts: Avoid shellcheck warnings SC2046, SC2086 (double-quoting)

SC2046: Quote this to prevent word splitting.
SC2086: Double quote to prevent globbing and word splitting.

Add some quoting where it makes sense.  Use shellcheck directives for
false-positives.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
17 files changed:
ctdb/config/ctdb.init
ctdb/config/ctdbd_wrapper
ctdb/config/debug_locks.sh
ctdb/config/events.d/05.system
ctdb/config/events.d/10.external
ctdb/config/events.d/10.interface
ctdb/config/events.d/11.natgw
ctdb/config/events.d/13.per_ip_routing
ctdb/config/events.d/31.clamd
ctdb/config/events.d/41.httpd
ctdb/config/events.d/50.samba
ctdb/config/events.d/60.nfs
ctdb/config/functions
ctdb/config/statd-callout
ctdb/tools/ctdb_diagnostics
ctdb/tools/ctdb_natgw
ctdb/tools/onnode