From dea8ab2336bd7d96d87fc1448c36055ca66a2297 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 12:01:54 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4cf86cae..b7d25722 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -142,8 +142,8 @@ LISTCERTS(){ #fi #echo "" cw=30 - spc1=${cw}-${#SUBJECT} - echo -e "${SUBJECT}${spc1}$(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}" + spc1=$(expr ${cw}-${#SUBJECT}) + echo -e "${SUBJECT} ${spc1} $(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}" done if [ -z $action ] || [ "${action}" = "gui" ]; then