From 2d3976642202e60dd38ba05689efa0b052e6d767 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 12:12:24 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c7c59d34..e624f8bb 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -145,7 +145,11 @@ LISTCERTS(){ declare -i spc1 cw=30 spc1=${cw}-${#SUBJECT} - echo -e "${SUBJECT} ${spc1} $(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}" + spc='' + for run in {1..${scp1}}; do + spc+=' ' + done + echo -e "${SUBJECT}${spc}$(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}" done if [ -z $action ] || [ "${action}" = "gui" ]; then