summaryrefslogtreecommitdiff
path: root/ctdb/tools
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2017-07-13 13:08:39 +1000
committerAmitay Isaacs <amitay@samba.org>2017-08-14 05:15:25 +0200
commit3654694a092b15733bd04631786e60627c392c6a (patch)
tree6eba4dc4d6f743f03d1358324d7258e33bab103f /ctdb/tools
parentdb014a51295ca66f4aee058dd8ee63f0beea5527 (diff)
downloadsamba-3654694a092b15733bd04631786e60627c392c6a.tar.gz
ctdb-tools: Avoid shellcheck SC2188 warning (redirect without command)
Shellcheck found a bug! Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tools')
-rwxr-xr-xctdb/tools/ctdb_diagnostics2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb_diagnostics b/ctdb/tools/ctdb_diagnostics
index e72c23f3998..eea60444296 100755
--- a/ctdb/tools/ctdb_diagnostics
+++ b/ctdb/tools/ctdb_diagnostics
@@ -81,7 +81,7 @@ fi
# are the same on the nodes
CONFIG_FILES_MAY="/usr/local/etc/ctdb/public_addresses /usr/local/etc/ctdb/static-routes"
-2>&1
+exec 2>&1
cat <<EOF
--------------------------------------------------------------------