From 3654694a092b15733bd04631786e60627c392c6a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 13 Jul 2017 13:08:39 +1000 Subject: ctdb-tools: Avoid shellcheck SC2188 warning (redirect without command) Shellcheck found a bug! Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tools/ctdb_diagnostics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctdb/tools') 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 <