ctdb-scripts: Avoid ShellCheck warnings SC2317, SC2086
commit37105addecc804ecd1c187c19adf40e97472d6e1
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 3 Jul 2023 03:34:58 +0000 (3 13:34 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 5 Jul 2023 11:18:37 +0000 (5 11:18 +0000)
treed9797df0d982d2a8c45a3bcbe38f5355ae917fc1
parentaeb5b0adfa7322602a4395ba8199fa2b05f0cf07
ctdb-scripts: Avoid ShellCheck warnings SC2317, SC2086

New in ShellCheck 0.9.0:

  SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

Also:

  SC2086 (info): Double quote to prevent globbing and word splitting.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
ctdb/config/events/legacy/05.system.script
ctdb/config/events/legacy/40.vsftpd.script
ctdb/config/events/legacy/60.nfs.script