1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/tools
Martin Schwenke db37043bc5 ctdb-scripts: Avoid ShellCheck warning SC2295
For example:

In /home/martins/samba/samba/ctdb/tools/onnode line 304:
    [ "$nodes" != "${nodes%[ ${nl}]*}" ] && verbose=true
                             ^---^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
    [ "$nodes" != "${nodes%[ "${nl}"]*}" ] && verbose=true

For more information:
  https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to b...

Who knew?  Thanks ShellCheck!

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2022-07-22 16:09:31 +00:00
..
ctdb_diagnostics ctdb-tools: Remove deprecated networking commands and replace with new commands 2022-03-08 12:30:53 +00:00
ctdb_killtcp.c ctdb-tools: Fix signed/unsigned comparison by declaring as unsigned 2019-06-05 10:25:49 +00:00
ctdb_lvs ctdb-tool: Add UNKNOWN pseudo state 2022-06-28 09:24:31 +00:00
ctdb_natgw ctdb-tool: Add UNKNOWN pseudo state 2022-06-28 09:24:31 +00:00
ctdb.c ctdb-tool: Add UNKNOWN pseudo state 2022-06-28 09:24:31 +00:00
ltdbtool.c ctdb-tools: Fix signed/unsigned conversion by declaring as size_t 2019-06-05 10:25:49 +00:00
onnode ctdb-scripts: Avoid ShellCheck warning SC2295 2022-07-22 16:09:31 +00:00