From a1c2641b536c123abfd0ae1d848910af2578cddf Mon Sep 17 00:00:00 2001 From: Satnam Singh Date: Thu, 4 Jun 2015 12:09:58 +0100 Subject: [PATCH] Fix node numbers for node list --- cluster/validate-cluster.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster/validate-cluster.sh b/cluster/validate-cluster.sh index b844b29dd4e..cb6250e5c9e 100755 --- a/cluster/validate-cluster.sh +++ b/cluster/validate-cluster.sh @@ -58,7 +58,9 @@ while true; do fi done echo "Found ${found} nodes." -cat -n "${MINIONS_FILE}" +echo -n " " +head -n 1 "${MINIONS_FILE}" +tail -n +2 "${MINIONS_FILE}" | cat -n attempt=0 while true; do