From 306dcbcbd2c92a76073a292f420f03c256a33eff Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 29 Feb 2024 17:18:06 +0100 Subject: [PATCH] status: bugfix duplicated instances --- status.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/status.sh b/status.sh index bd38ce1..0193bac 100755 --- a/status.sh +++ b/status.sh @@ -21,7 +21,8 @@ main() { cd "$(dirname "${0}")" instances="$(find . -maxdepth 1 -type d \ | grep -E 'pilot|instance' \ - | cut -d'_' -f3 + | cut -d'_' -f3 \ + | sort -u )" _git_info ./ssikit_trustchain printf -- "%-31s | commit: %s\n" "${d_name}" "${commit_info}"