Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursnerdly authored Nov 9, 2024
1 parent b50f45e commit 8c588be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c588be

Please sign in to comment.