diff options
author | Martin Schwenke <martin@meltin.net> | 2017-07-13 13:08:39 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2017-08-14 05:15:25 +0200 |
commit | 3654694a092b15733bd04631786e60627c392c6a (patch) | |
tree | 6eba4dc4d6f743f03d1358324d7258e33bab103f /ctdb/tools | |
parent | db014a51295ca66f4aee058dd8ee63f0beea5527 (diff) | |
download | samba-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-x | ctdb/tools/ctdb_diagnostics | 2 |
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 -------------------------------------------------------------------- |