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 80cbebce71 ctdb-scripts: Silence shellcheck warning SC2166
This covers the following:

  SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
  SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

POSIX agrees that -a and -o should not be used:

  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

Fixing these doesn't cause much churn.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-09-17 04:35:27 +00:00
..
ctdb_diagnostics ctdb-scripts: Silence shellcheck warning SC2166 2019-09-17 04:35:27 +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-scripts: Use load_script_options() in miscellaneous scripts 2018-05-12 06:11:17 +02:00
ctdb_natgw ctdb-scripts: Use load_script_options() in miscellaneous scripts 2018-05-12 06:11:17 +02:00
ctdb.c ctdb-tools: Stop deleted nodes from influencing ctdb nodestatus exit code 2019-09-17 04:35:26 +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: Silence shellcheck warning SC2166 2019-09-17 04:35:27 +00:00