From 8c588be7810d4c109f4bfa25b9cb5cd62ffacf8e Mon Sep 17 00:00:00 2001 From: Deepak Gupta <70094361+yoursnerdly@users.noreply.github.com> Date: Sat, 9 Nov 2024 11:43:20 -0500 Subject: [PATCH] Fix bug --- install-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-linux.sh b/install-linux.sh index 6abf88c..58f63ea 100755 --- a/install-linux.sh +++ b/install-linux.sh @@ -378,7 +378,7 @@ disable_unsupported_services() { cleanup_local_registry() { if command -v /opt/cyral/bin/cyral-local-discovery-cli &>/dev/null; then - if [[ -n "CYRAL_REPOSITORIES_SUPPORTED" ]]; then + if [[ -n "$CYRAL_REPOSITORIES_SUPPORTED" ]]; then echo "Cleaning up local registry" readarray -t WIRES < <(find /etc/cyral/ -type d -name "*-wire" -printf "%f\n") wires_to_disable=$(for wire in "${WIRES[@]}"; do if [[ ! "$CYRAL_REPOSITORIES_SUPPORTED" =~ $(echo "$wire" | cut -d- -f2) ]]; then echo -n "$wire "; fi; done)