From 47328f94e1e8dce4cfedef64d8dda33ea787169b Mon Sep 17 00:00:00 2001 From: Pedro Carvalho Date: Tue, 1 Oct 2024 19:11:45 -0300 Subject: [PATCH] redirects stdout --- install-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-linux.sh b/install-linux.sh index b664596..7f8ca0f 100755 --- a/install-linux.sh +++ b/install-linux.sh @@ -388,7 +388,7 @@ cleanup_local_registry() { done if [[ "$CYRAL_STORAGE_MANAGER_PROXY_ENABLED" != "true" ]]; then - /opt/cyral/bin/cyral-local-discovery-cli unregister "storage-proxy" --db "$CYRAL_REGISTRY_DATABASE" --bucket "$CYRAL_REGISTRY_BUCKET" || echo "Warning: Unable to unregister storage proxy, sidecar might report as degraded." + /opt/cyral/bin/cyral-local-discovery-cli unregister "storage-proxy" --db "$CYRAL_REGISTRY_DATABASE" --bucket "$CYRAL_REGISTRY_BUCKET" 2>/dev/null || echo "Warning: Unable to unregister storage proxy, sidecar might report as degraded." fi fi }