From c38a57b5b1c7f87c7f761ac6615536590630c24e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 09:13:17 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 40dc919f..37718356 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -601,8 +601,6 @@ LISTCERTS(){ CERTEXPIRE=$(date -d "$(: | openssl x509 -in ${certdir}/cert.pem -text | grep 'Not After' |awk '{print $4,$5,$7}')" '+%s'); DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS))); - awk '{for(i=1; i<=NF; i++) if($i==", ") if(++count%3==0) $i=",\n"}1' ${SUBJECTNAMES} - declare -i cw; declare -i spc1; declare -i c c=0; cw=30; spc='' spc1=${cw}-${#SUBJECT}